// // PauseLayer::createStartPosPopupClosed from 0x48f9ba to 0x48fa2e (116 bytes) // // 1 xrefs: // > `non-virtual thunk to'PauseLayer::createStartPosPopupClosed @ 0x48fa32 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:36 +0000 // int __fastcall PauseLayer::createStartPosPopupClosed(PauseLayer *this, CreateStartPosPopup *a2) { int v3; // r5 cocos2d::CCArray *v4; // r0 cocos2d::CCObject *v5; // r5 cocos2d::CCObject *v6; // r0 int v7; // r0 cocos2d::CCObject *StartPosObjectsForCurrentMode; // r0 int v9; // r0 char v10; // r5 int result; // r0 v3 = *((_DWORD *)this + 117); if ( v3 > 0 && (v4 = *((cocos2d::CCArray **)this + 118)) != nullptr && (unsigned int)v3 <= cocos2d::CCArray::count(v4) ) v5 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex( *((cocos2d::CCArray **)this + 118), *((_DWORD *)this + 117) - 1); else v5 = nullptr; v6 = *((cocos2d::CCObject **)this + 118); if ( v6 ) v6 = (cocos2d::CCObject *)cocos2d::CCObject::release(v6); v7 = GameManager::sharedState(v6); StartPosObjectsForCurrentMode = (cocos2d::CCObject *)GJBaseGameLayer::getStartPosObjectsForCurrentMode(*(GJBaseGameLayer **)(v7 + 404)); *((_DWORD *)this + 118) = StartPosObjectsForCurrentMode; cocos2d::CCObject::retain(StartPosObjectsForCurrentMode); if ( v5 ) v9 = cocos2d::CCArray::indexOfObject(*((cocos2d::CCArray **)this + 118), v5) + 1; else v9 = 0; v10 = *((_BYTE *)this + 476); *((_DWORD *)this + 117) = v9; result = PauseLayer::onChangeStartpos((cocos2d::CCArray **)this, nullptr); *((_BYTE *)this + 476) = v10; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source