// // SetGroupIDLayer::onAddGroup from 0x140593190 to 0x140593303 (371 bytes) // // 2 xrefs: // > SetGroupIDLayer::init @ 0x14058f39a // > @ 0x14092ce64 // // 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:34:32 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall SetGroupIDLayer::onAddGroup(__int64 a1) { unsigned int v2; // ebp __int64 v3; // rcx __int64 v4; // rcx unsigned int i; // ebx struct cocos2d::CCObject *v6; // rsi __int64 v7; // rcx void *v8; // [rsp+30h] [rbp+8h] void *v9; // [rsp+30h] [rbp+8h] v2 = *(_DWORD *)(a1 + 764); *(_BYTE *)(a1 + 804) = 1; v3 = *(_QWORD *)(a1 + 672); if ( v3 ) { if ( (*(unsigned int (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1448LL))(v3, v2) == 1 ) { v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v8 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } (*(void (__fastcall **)(_QWORD, _QWORD, _QWORD, _QWORD))(**(_QWORD **)(v4 + 568) + 1200LL))( *(_QWORD *)(v4 + 568), *(_QWORD *)(a1 + 672), v2, 0); } } else { for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 680)); ++i ) { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 680), i); if ( (*(unsigned int (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v6 + 1448LL))(v6, v2) == 1 ) { v7 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v9 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v7 = qword_14090BFD0; } (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *, _QWORD, _QWORD))(**(_QWORD **)(v7 + 568) + 1200LL))( *(_QWORD *)(v7 + 568), v6, v2, 0); } } } SetGroupIDLayer::updateGroupIDButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source