// // UIOptionsLayer::onClose from 0x5d3ad0 to 0x5d3bf6 (294 bytes) // // 0 xrefs: // // 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:54:07 +0000 // int __fastcall UIOptionsLayer::onClose(UIOptionsLayer *this, cocos2d::CCObject *a2) { GameManager *WinSize; // r0 int v5; // r5 int v6; // r0 int v7; // r0 GameManager *v8; // r0 int v9; // r5 int v10; // r0 GameManager *v11; // r0 int v12; // r8 float *v13; // r0 float v14; // s16 int v15; // r0 GameManager *v16; // r0 int v17; // r8 int v18; // r0 GameManager *v19; // r0 int v20; // r8 int v21; // r0 GameManager *v22; // r0 int v23; // r8 float *v24; // r0 float v25; // s16 int v26; // r0 float v28[2]; // [sp+4h] [bp-14h] BYREF _BYTE v29[8]; // [sp+Ch] [bp-Ch] BYREF cocos2d::CCDirector::sharedDirector(this); WinSize = (GameManager *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v28); v5 = *((_DWORD *)this + 179); if ( *((_BYTE *)this + 712) ) { v7 = GameManager::sharedState(WinSize); v8 = (GameManager *)GJUINode::saveToConfig(v5, v7 + 1048); v9 = *((_DWORD *)this + 180); v10 = GameManager::sharedState(v8); v11 = (GameManager *)GJUINode::saveToConfig(v9, v10 + 1088); v12 = GameManager::sharedState(v11); v13 = (float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 180) + 96))(*((_DWORD *)this + 180)); v14 = *v13 - v28[0]; v15 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 180) + 96))(*((_DWORD *)this + 180)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, fabsf(v14), *(float *)(v15 + 4)); v16 = (GameManager *)cocos2d::CCPoint::operator=(v12 + 1116, v29); v17 = *((_DWORD *)this + 181); v18 = GameManager::sharedState(v16); v19 = (GameManager *)GJUINode::saveToConfig(v17, v18 + 1128); v20 = *((_DWORD *)this + 182); v21 = GameManager::sharedState(v19); v22 = (GameManager *)GJUINode::saveToConfig(v20, v21 + 1168); v23 = GameManager::sharedState(v22); v24 = (float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 182) + 96))(*((_DWORD *)this + 182)); v25 = *v24 - v28[0]; v26 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 182) + 96))(*((_DWORD *)this + 182)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, fabsf(v25), *(float *)(v26 + 4)); cocos2d::CCPoint::operator=(v23 + 1196, v29); } else { v6 = GameManager::sharedState(WinSize); GJUINode::saveToConfig(v5, v6 + 1008); } return SetupTriggerPopup::onClose(this, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source