// // LevelSettingsLayer::selectSettingClosed from 0x6aa58c to 0x6aa65e (210 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelSettingsLayer::selectSettingClosed @ 0x6aa668 // // 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:34 +0000 // cocos2d::CCSpriteFrameCache *__fastcall LevelSettingsLayer::selectSettingClosed( LevelSettingsLayer *this, SelectSettingLayer *a2) { unsigned int v3; // r7 cocos2d::CCSpriteFrameCache *result; // r0 cocos2d::CCSpriteFrameCache *v6; // r8 int v7; // r9 void (__fastcall *v8)(int, int); // r10 cocos2d::CCSpriteFrameCache *v9; // r11 char *v10; // r1 int v11; // r0 int v12; // r9 void (__fastcall *v13)(int, int); // r10 cocos2d::CCSpriteFrameCache *v14; // r11 char *v15; // r1 int v16; // r0 char v17; // [sp+0h] [bp-14h] BYREF _BYTE v18[7]; // [sp+1h] [bp-13h] BYREF char *v19; // [sp+8h] [bp-Ch] v3 = *((_DWORD *)a2 + 132); result = (cocos2d::CCSpriteFrameCache *)SelectSettingLayer::getSelectedValue(a2); v6 = result; if ( v3 > 1 ) { if ( v3 == 2 ) { v12 = *((_DWORD *)this + 147); v13 = *(void (__fastcall **)(int, int))(*(_DWORD *)v12 + 580); v14 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(result); SelectSettingLayer::getSelectedFrame((SelectSettingLayer *)&v17, (int)a2); if ( (v17 & 1) != 0 ) v15 = v19; else v15 = v18; v16 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v14, v15); v13(v12, v16); result = (cocos2d::CCSpriteFrameCache *)std::string::~string((int)&v17); *(_DWORD *)(*((_DWORD *)this + 149) + 272) = v6; } } else { v7 = *((_DWORD *)this + 148); v8 = *(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 580); v9 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(result); SelectSettingLayer::getSelectedFrame((SelectSettingLayer *)&v17, (int)a2); if ( (v17 & 1) != 0 ) v10 = v19; else v10 = v18; v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, v10); v8(v7, v11); result = (cocos2d::CCSpriteFrameCache *)std::string::~string((int)&v17); *(_DWORD *)(*((_DWORD *)this + 149) + 268) = v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source