// // LevelSettingsLayer::onClose from 0x6a82c4 to 0x6a838a (198 bytes) // // 2 xrefs: // > LevelSettingsLayer::keyBackClicked @ 0x6a839c // > LevelSettingsLayer::onLiveEdit @ 0x6a8b4c // // 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:56:32 +0000 // int __fastcall LevelSettingsLayer::onClose(LevelSettingsLayer *this, cocos2d::CCObject *a2) { int v3; // r3 int v4; // r3 int v5; // r2 int v6; // r3 int v7; // r2 int v8; // r3 void (__fastcall ***v9)(_DWORD); // r0 v3 = *((_DWORD *)this + 155); if ( v3 ) { *(_DWORD *)(v3 + 420) = 0; (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 155) + 580))(*((_DWORD *)this + 155)); } v4 = *((_DWORD *)this + 156); if ( v4 ) { *(_DWORD *)(v4 + 420) = 0; (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 156) + 580))(*((_DWORD *)this + 156)); } v5 = *((_DWORD *)this + 149); if ( !*(_BYTE *)(v5 + 308) ) { v6 = *((_DWORD *)this + 135); if ( v6 && *(_BYTE *)(v6 + 281) ) { v7 = *(_DWORD *)(v5 + 320); if ( *(_BYTE *)(v6 + 280) ) { *(_DWORD *)(v7 + 436) = *(_DWORD *)(v6 + 276); } else { *(_DWORD *)(v7 + 436) = *(unsigned __int8 *)(v6 + 280); *(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 149) + 320) + 432) = *(_DWORD *)(*((_DWORD *)this + 135) + 276); } *(_BYTE *)(*((_DWORD *)this + 149) + 336) = 1; } v8 = *((_DWORD *)this + 149); if ( *(_DWORD *)(v8 + 272) != *((_DWORD *)this + 136) || *(_BYTE *)(v8 + 336) ) *(_BYTE *)(v8 + 336) = 0; v9 = *((void (__fastcall ****)(_DWORD))this + 153); if ( v9 ) (**v9)(v9); } (*(void (__fastcall **)(LevelSettingsLayer *, _DWORD))(*(_DWORD *)this + 536))(this, 0); return (*(int (__fastcall **)(LevelSettingsLayer *, int))(*(_DWORD *)this + 264))(this, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source