// // sub_10037E57C from 0x10037e57c to 0x10037e638 (188 bytes) // // 8 xrefs: // > sub_10024C268 @ 0x10024c2bc // > sub_10037E530 @ 0x10037e578 // > LevelBrowserLayer::updateSelectUI @ 0x1004973f8 // > LevelBrowserLayer::updateSelectUI @ 0x100497400 // > sub_1004F5B2C @ 0x1004f5b54 // > sub_1005301B0 @ 0x10053028c // > sub_10053053C @ 0x100530774 // > sub_100531E80 @ 0x100531f28 // // 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:03:29 +0000 // __int64 __fastcall sub_10037E57C(__int64 a1, int a2) { __int64 result; // x0 __int64 v5; // x20 void *v6; // x0 __int64 CString; // x0 __int64 v8; // x8 unsigned __int64 v9; // x20 if ( !*(_BYTE *)(a1 + 376) ) a2 = 0; result = *(_QWORD *)(a1 + 360); if ( result ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)result + 344LL))(result, a2 > 0); v5 = *(_QWORD *)(a1 + 360); v6 = sub_1003065B0("(%i)", a2); CString = cocos2d::CCString::getCString((__int64)v6); result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString); } v8 = *(_QWORD *)(a1 + 384); if ( *(_QWORD *)(a1 + 392) != v8 ) { v9 = 0; do { result = (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(v8 + 8 * v9) + 344LL))( *(_QWORD *)(v8 + 8 * v9), a2 > 0); ++v9; v8 = *(_QWORD *)(a1 + 384); } while ( v9 < (*(_QWORD *)(a1 + 392) - v8) >> 3 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source