// // sub_1008A2CB0 from 0x1008a2cb0 to 0x1008a2d46 (150 bytes) // // 1 xrefs: // > ProfilePage::setupAccountButtons @ 0x1008a2059 // // This function is hookable on this platform (idp: pc, 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 12:37:15 +0000 // int *__fastcall sub_1008A2CB0(__int64 a1) { int *result; // rax _DWORD *v2; // rbx __int64 v3; // r14 int HighestChildZ; // ecx int v5; // eax result = *(int **)(a1 + 728); if ( result ) { if ( result[94] > 0 ) { result = (int *)GameManager::sharedState(); if ( result[258] > result[259] ) { v2 = InfoLayer::create(0, *(_QWORD *)(a1 + 728), 0, 0); v3 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); HighestChildZ = cocos2d::CCScene::getHighestChildZ(v3); v5 = 110; if ( HighestChildZ >= 110 ) v5 = cocos2d::CCScene::getHighestChildZ(v3) + 1; v2[148] = v5; (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1312LL))(v2); return (int *)sub_100894470((__int64)v2); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source