// // GJBaseGameLayer::toggleGroup from 0x10028db7c to 0x10028dc5c (224 bytes) // // 3 xrefs: // > GJBaseGameLayer::toggleGroupTriggered @ 0x10028db28 // > sub_10028DC5C @ 0x10028dc8c // > EffectGameObject::triggerObject @ 0x10042ba78 // // 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:02:01 +0000 // __int64 __fastcall GJBaseGameLayer::toggleGroup(__int64 a1, int a2, int a3) { __int64 result; // x0 __int64 Group; // x0 unsigned int *v8; // x9 __int64 v9; // x8 _QWORD *v10; // x22 unsigned __int64 v11; // x23 unsigned int *v12; // x9 __int64 v13; // x8 _QWORD *v14; // x22 unsigned __int64 v15; // x23 result = sub_1000150C8(*(_QWORD *)(a1 + 2152), a2); if ( (_DWORD)result != a3 ) { Group = GJBaseGameLayer::getGroup(a1, a2); if ( a3 ) { if ( Group ) { v8 = *(unsigned int **)(Group + 56); v9 = *v8; if ( (_DWORD)v9 ) { v10 = *((_QWORD **)v8 + 2); v11 = (unsigned __int64)&v10[v9 - 1]; do { if ( !*v10 ) break; sub_1002FA8F4(); ++v10; } while ( (unsigned __int64)v10 <= v11 ); } } } else if ( Group ) { v12 = *(unsigned int **)(Group + 56); v13 = *v12; if ( (_DWORD)v13 ) { v14 = *((_QWORD **)v12 + 2); v15 = (unsigned __int64)&v14[v13 - 1]; do { if ( !*v14 ) break; sub_1002FA910(); ++v14; } while ( (unsigned __int64)v14 <= v15 ); } } return sub_1000109D4(*(_QWORD *)(a1 + 2152), a2, a3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source