// // SelectSettingLayer::onSelect from 0x14045cfb0 to 0x14045d054 (164 bytes) // // 2 xrefs: // > SelectSettingLayer::init @ 0x14045c7dc // > @ 0x140927d58 // // This function is hookable on this platform (idp: pc, 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:32:32 +0000 // unsigned int __fastcall SelectSettingLayer::onSelect(__int64 a1, __int64 a2) { unsigned int v3; // ebx unsigned int result; // eax char *v5; // rcx void (__fastcall *v6)(char *, _BYTE *); // r8 _BYTE *v7; // rdx _BYTE v8[3]; // [rsp+30h] [rbp+8h] BYREF if ( a2 ) *(_DWORD *)(a1 + 672) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v3 = 0; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 664)); if ( result ) { do { v5 = (char *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 664), v3) + 320; v6 = **(void (__fastcall ***)(char *, _BYTE *))v5; if ( *(_DWORD *)(a1 + 672) == v3 ) { v7 = &unk_1407044BC; } else { memset(v8, 125, sizeof(v8)); v7 = v8; } v6(v5, v7); ++v3; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 664)); } while ( v3 < result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source