// // SelectSettingLayer::onSelect from 0x6a8ac0 to 0x6a8b3c (124 bytes) // // 1 xrefs: // > SelectSettingLayer::init @ 0x6aaa28 // // 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 // unsigned int __fastcall SelectSettingLayer::onSelect(SelectSettingLayer *this, cocos2d::CCObject *a2, int a3) { unsigned int v4; // r4 unsigned int result; // r0 int v6; // r0 int v7; // r2 bool v8; // zf __int16 *v9; // r1 void (__fastcall *v10)(int, __int16 *, int); // r3 _DWORD v11[3]; // [sp+0h] [bp-Ch] BYREF v11[0] = this; v11[1] = a2; v11[2] = a3; if ( a2 ) *((_DWORD *)this + 131) = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v4 = 0; while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 130)); if ( v4 >= result ) break; v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 130), v4); v8 = *((_DWORD *)this + 131) == v4++; if ( v8 ) v9 = &word_BEF9C4; else v9 = (__int16 *)v11; v10 = *(void (__fastcall **)(int, __int16 *, int))(*(_DWORD *)v6 + 480); if ( !v8 ) memset(v11, 125, 3); v10(v6, v9, v7); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source