// // sub_10009A224 from 0x10009a224 to 0x10009a370 (332 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x1000935b8 // // 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 10:58:28 +0000 // __int64 __fastcall sub_10009A224(_QWORD *a1, _QWORD *a2, char *__s) { char *v3; // x21 __int64 v6; // x20 __int64 v7; // x0 __int64 v8; // x20 __int64 v9; // x21 _BOOL4 v10; // w0 _BOOL4 v11; // w22 __int64 result; // x0 __int64 v13; // x0 __int64 v14; // x1 __int64 v15; // x0 void (__fastcall ***v16)(_QWORD, __int64, __int64); // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v18; // [xsp+1Fh] [xbp-21h] v3 = __s; if ( __s[23] < 0 ) v3 = *(char **)__s; v6 = a1[136]; sub_100009900(__p, v3); v7 = cocos2d::CCDictionary::removeObjectForKey(v6, (char *)__p); if ( v18 < 0 ) operator delete(__p[0]); v8 = sub_1000BBC70(v7, v3, 1); v9 = sub_1000BBC70(v8, v3, 2); sub_100009900(__p, "-1"); v10 = sub_1000045BC(a2, __p); v11 = v10; if ( v18 < 0 ) { operator delete(__p[0]); if ( v11 ) { LABEL_7: result = a1[170]; if ( result ) return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)result + 8LL))(result, v9, 37); return result; } } else if ( v10 ) { goto LABEL_7; } v13 = cocos2d::CCDictionary::objectForKey_1(a1[140], (int)v8); if ( v13 ) { v14 = v13; *(_DWORD *)(v13 + 688) = 1; v15 = a1[169]; if ( v15 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 16LL))(v15, v14); } v16 = (void (__fastcall ***)(_QWORD, __int64, __int64))a1[170]; if ( v16 ) (**v16)(v16, v9, 37); sub_1000CA1C0(a1, v8, 0); return sub_1000C7830(a1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source