// // LevelSettingsLayer::selectSettingClosed from 0xb64454 to 0xb645c0 (364 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelSettingsLayer::selectSettingClosed @ 0xb645c4 // > @ 0xf32b0 // > @ 0x14c3e18 // // 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 13:02:13 +0000 // __int64 __fastcall LevelSettingsLayer::selectSettingClosed(LevelSettingsLayer *this, SelectSettingLayer *a2) { unsigned int v4; // w21 int SelectedValue; // w23 cocos2d::CCSpriteFrameCache **v7; // x24 void (__fastcall *v8)(cocos2d::CCSpriteFrameCache **, __int64); // x25 cocos2d::CCSpriteFrameCache *v9; // x26 char *v10; // x1 __int64 v11; // x0 cocos2d::CCSpriteFrameCache **v12; // x24 void (__fastcall *v13)(cocos2d::CCSpriteFrameCache **, __int64); // x25 cocos2d::CCSpriteFrameCache *v14; // x26 char *v15; // x1 __int64 v16; // x0 __int64 v17[2]; // [xsp+50h] [xbp+50h] BYREF char *v18; // [xsp+60h] [xbp+60h] v4 = *((_DWORD *)a2 + 169); SelectedValue = SelectSettingLayer::getSelectedValue(a2); if ( v4 <= 1 ) { v12 = *((cocos2d::CCSpriteFrameCache ***)this + 101); v13 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v12 + 145); v14 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v12); SelectSettingLayer::getSelectedFrame(a2, v17); v15 = (char *)v17 + 1; if ( (v17[0] & 1) != 0 ) v15 = v18; v16 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v14, v15); v13(v12, v16); if ( (v17[0] & 1) != 0 ) operator delete(v18); *(_DWORD *)(*((_QWORD *)this + 102) + 328LL) = SelectedValue; } else if ( v4 == 2 ) { v7 = *((cocos2d::CCSpriteFrameCache ***)this + 100); v8 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v7 + 145); v9 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v7); SelectSettingLayer::getSelectedFrame(a2, v17); v10 = (char *)v17 + 1; if ( (v17[0] & 1) != 0 ) v10 = v18; v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, v10); v8(v7, v11); if ( (v17[0] & 1) != 0 ) operator delete(v18); *(_DWORD *)(*((_QWORD *)this + 102) + 332LL) = SelectedValue; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source