// // GJBaseGameLayer::controlAreaEffect from 0x8990e0 to 0x8991b0 (208 bytes) // // 6 xrefs: // > GJBaseGameLayer::controlTriggersInGroup @ 0x899300 // > GJBaseGameLayer::controlTriggersInGroup @ 0x899320 // > GJBaseGameLayer::controlTriggersInGroup @ 0x8993d4 // > GJBaseGameLayer::controlTriggersInGroup @ 0x8993ec // > GJBaseGameLayer::controlTriggersInGroup @ 0x899404 // > @ 0x36090 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // local variable allocation has failed, the output may be wrong! void GJBaseGameLayer::controlAreaEffect( GJBaseGameLayer *a1, EnterEffectObject *a2, std::vector *a3, GJActionCommand a4) { EnterEffectInstance *m_start; // x6 int v5; // w20 unsigned __int64 v7; // x19 signed __int64 v8; // x5 __int64 v9; // x1 __int64 v10; // [xsp+30h] [xbp+30h] std::vector *v11; // [xsp+38h] [xbp+38h] m_start = a3->m_start; v5 = 0; v7 = 0; v8 = (char *)a3->m_finish - (char *)a3->m_start; while ( 1 ) { v9 = (__int64)&m_start[v7]; if ( v7 >= 0xF83E0F83E0F83E1LL * (v8 >> 3) ) break; if ( *(EnterEffectObject **)(v9 + 192) != a2 ) goto LABEL_2; if ( a4 ) { if ( a4 == Pause ) { *(_BYTE *)(v9 + 220) = 1; *(_BYTE *)(v9 + 221) = 1; } else if ( a4 == Resume ) { *(_BYTE *)(v9 + 220) = 0; *(_BYTE *)(v9 + 221) = 0; } LABEL_2: v7 = ++v5; } else { v10 = *(_QWORD *)&a4; v11 = a3; std::vector::_M_erase((__int64)a3, v9); a3 = v11; *(_QWORD *)&a4 = v10; m_start = v11->m_start; v8 = (char *)a3->m_finish - (char *)a3->m_start; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source