Skip to content

Instantly share code, notes, and snippets.

@schirrmacher
Created February 4, 2020 10:14
Show Gist options
  • Save schirrmacher/1dc7f5b36cb4a66e382eb4a5da54851e to your computer and use it in GitHub Desktop.
Save schirrmacher/1dc7f5b36cb4a66e382eb4a5da54851e to your computer and use it in GitHub Desktop.
int sub_100bbda00(int arg0, int arg1) {
r31 = r31 - 0x60;
var_30 = r24;
stack[-56] = r23;
var_20 = r22;
stack[-40] = r21;
var_10 = r20;
stack[-24] = r19;
saved_fp = r29;
stack[-8] = r30;
r19 = arg0;
sub_100bbf094(arg0, arg1 + 0x10);
r20 = r19 + 0x10;
sub_100bbf094(r20, arg1 + 0x10);
*(int16_t *)(r19 + 0x1e) = 0x0;
*(int16_t *)(r19 + 0xe) = 0x0;
if (*(int32_t *)dword_1012b5760 != 0x0) {
sub_100bbf048(&var_40);
sub_100bc085c(0x7, "%s: key: %s\n");
if (*(int32_t *)0x1012b5760 != 0x0) {
sub_100bbf048(r20);
sub_100bc085c(0x7, "%s: offset: %s\n");
}
}
sub_100bbbffc(&var_40, r19 + 0x30);
*(int32_t *)(r19 + 0xe0) = 0x0;
return 0x0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment