// // GJBaseGameLayer::activatePlayerControlTrigger from 0x99ee9c to 0x99f02c (400 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x898110 // > @ 0x8ef18 // // 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 12:58:06 +0000 // __int64 __fastcall GJBaseGameLayer::activatePlayerControlTrigger(GJBaseGameLayer *this, PlayerControlGameObject *a2) { int v4; // w21 __int64 result; // x0 int v6; // w23 int v7; // w24 int v8; // w22 v4 = *((unsigned __int8 *)a2 + 1685); result = *((unsigned __int8 *)a2 + 1684); v6 = *((unsigned __int8 *)a2 + 1840); v7 = *((unsigned __int8 *)a2 + 1841); v8 = *((unsigned __int8 *)a2 + 1842); if ( (unsigned int)result < (v4 ^ 1u) ) { v4 = 1; } else if ( !*((_BYTE *)a2 + 1684) ) { goto LABEL_3; } if ( *((_BYTE *)a2 + 1840) ) { PlayerObject::releaseButton(*((_QWORD *)this + 407), 1); if ( !*((_BYTE *)this + 12238) ) { LABEL_14: if ( !v8 ) goto LABEL_15; goto LABEL_26; } } else if ( !*((_BYTE *)this + 12238) ) { goto LABEL_14; } if ( !v7 ) goto LABEL_14; PlayerObject::releaseButton(*((_QWORD *)this + 407), 5); PlayerObject::releaseButton(*((_QWORD *)this + 407), 2); PlayerObject::releaseButton(*((_QWORD *)this + 407), 3); if ( !v8 ) { LABEL_15: result = *((unsigned __int8 *)a2 + 1843); if ( !*((_BYTE *)a2 + 1843) ) goto LABEL_3; goto LABEL_16; } LABEL_26: PlayerObject::stopRotation(*((PlayerObject **)this + 407)); result = *((unsigned __int8 *)a2 + 1843); if ( *((_BYTE *)a2 + 1843) ) LABEL_16: result = PlayerObject::handlePlayerCommand(*((_QWORD *)this + 407), 543); LABEL_3: if ( !v4 ) return result; if ( v6 ) { PlayerObject::releaseButton(*((_QWORD *)this + 408), 1); if ( !*((_BYTE *)this + 12238) ) { LABEL_7: if ( !v8 ) goto LABEL_8; goto LABEL_18; } } else if ( !*((_BYTE *)this + 12238) ) { goto LABEL_7; } if ( !v7 ) goto LABEL_7; PlayerObject::releaseButton(*((_QWORD *)this + 408), 5); PlayerObject::releaseButton(*((_QWORD *)this + 408), 2); PlayerObject::releaseButton(*((_QWORD *)this + 408), 3); if ( !v8 ) { LABEL_8: result = *((unsigned __int8 *)a2 + 1843); if ( !*((_BYTE *)a2 + 1843) ) return result; return PlayerObject::handlePlayerCommand(*((_QWORD *)this + 408), 543); } LABEL_18: PlayerObject::stopRotation(*((PlayerObject **)this + 408)); result = *((unsigned __int8 *)a2 + 1843); if ( *((_BYTE *)a2 + 1843) ) return PlayerObject::handlePlayerCommand(*((_QWORD *)this + 408), 543); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source