// // sub_100487EC0 from 0x100487ec0 to 0x100487f48 (136 bytes) // // 1 xrefs: // > SelectEventLayer::onClose @ 0x100489b54 // // 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:49 +0000 // _QWORD *__fastcall sub_100487EC0(__int64 a1, __int64 a2) { __int64 v4; // x0 _QWORD *result; // x0 unsigned int *v6; // x9 __int64 v7; // x8 __int64 *v8; // x20 unsigned __int64 v9; // x21 __int64 v10; // x8 v4 = *(_QWORD *)(a1 + 680); if ( v4 ) { result = sub_1002E73C8(v4); if ( !result ) return result; } else { result = *(_QWORD **)(a1 + 688); if ( !result ) return result; } v6 = (unsigned int *)result[7]; v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((__int64 **)v6 + 2); v9 = (unsigned __int64)&v8[v7 - 1]; do { v10 = *v8; if ( !*v8 ) break; result = (_QWORD *)(v10 + 1840); if ( v10 + 1840 != a2 ) result = sub_10018EE04(result, *(_QWORD **)a2, (_QWORD *)(a2 + 8)); ++v8; } while ( (unsigned __int64)v8 <= v9 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source