// // LevelSettingsLayer::selectSettingClosed from 0x10020d324 to 0x10020d448 (292 bytes) // // 2 xrefs: // > sub_10020D4A8 @ 0x10020d4ac // > @ 0x1008f6528 // // 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 11:01:01 +0000 // void __fastcall LevelSettingsLayer::selectSettingClosed(_QWORD *a1, __int64 a2) { unsigned int v4; // w21 __int64 v5; // x0 int v6; // w20 __int64 v7; // x21 __int64 v8; // x23 void **v9; // x1 __int64 v10; // x0 __int64 v11; // x21 __int64 v12; // x23 void **v13; // x1 __int64 v14; // x0 void *__p[2]; // [xsp+8h] [xbp-48h] BYREF char v16; // [xsp+1Fh] [xbp-31h] v4 = *(_DWORD *)(a2 + 676); v5 = sub_10020D468(a2); v6 = v5; if ( v4 > 1 ) { if ( v4 == 2 ) { v11 = a1[100]; v12 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5); sub_10020EB5C(__p, *(unsigned int *)(a2 + 676), *(unsigned int *)(a2 + 672)); if ( v16 >= 0 ) v13 = __p; else v13 = (void **)__p[0]; v14 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v12, v13); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 1160LL))(v11, v14); if ( v16 < 0 ) operator delete(__p[0]); *(_DWORD *)(a1[102] + 332LL) = v6; } } else { v7 = a1[101]; v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5); sub_10020EB5C(__p, *(unsigned int *)(a2 + 676), *(unsigned int *)(a2 + 672)); if ( v16 >= 0 ) v9 = __p; else v9 = (void **)__p[0]; v10 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, v9); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1160LL))(v7, v10); if ( v16 < 0 ) operator delete(__p[0]); *(_DWORD *)(a1[102] + 328LL) = v6; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source