// // sub_10045D094 from 0x10045d094 to 0x10045d240 (428 bytes) // // 2 xrefs: // > sub_10045A37C @ 0x10045c910 // > sub_10045A37C @ 0x10045b4c8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:05:27 +0000 // __int64 __fastcall sub_10045D094(__int64 a1, __int64 a2) { int v3; // w20 __int64 v4; // x0 const char *v5; // x1 __int64 v6; // x0 const char *v7; // x1 unsigned int v8; // w21 __int64 v9; // x0 unsigned int v10; // w21 __int64 v11; // x0 __int64 result; // x0 if ( a2 ) v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); else v3 = -1; v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1144) + 1072LL))(*(_QWORD *)(a1 + 1144)); if ( v3 ) v5 = "GJ_button_04.png"; else v5 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v4, (__int64)v5); v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 1072LL))(*(_QWORD *)(a1 + 1152)); if ( v3 == 1 ) v7 = "GJ_button_02.png"; else v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v6, (__int64)v7); if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 1048)) ) { v8 = 0; do { v9 = sub_1002E75A0(*(_QWORD *)(a1 + 1048), v8); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v9 + 344LL))(v9, v3 == 0); ++v8; } while ( v8 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 1048)) ); } if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 1056)) ) { v10 = 0; do { v11 = sub_1002E75A0(*(_QWORD *)(a1 + 1056), v10); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v11 + 344LL))(v11, v3 == 1); ++v10; } while ( v10 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 1056)) ); } (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1208) + 1000LL))(*(_QWORD *)(a1 + 1208), v3 == 1); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1320) + 1000LL))(*(_QWORD *)(a1 + 1320), v3 == 0); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1328) + 1000LL))(*(_QWORD *)(a1 + 1328), v3 == 0); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1336) + 1000LL))(*(_QWORD *)(a1 + 1336), v3 == 0); result = (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1344) + 1000LL))( *(_QWORD *)(a1 + 1344), v3 == 0); *(_DWORD *)(a1 + 1292) = v3; if ( (*(_BYTE *)(a1 + 1300) & 1) == 0 ) return sub_10045D714(a1); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source