// // GJBaseGameLayer::controlTriggersWithControlID from 0x9baf6c to 0x9bb1c4 (600 bytes) // // 2 xrefs: // > TriggerControlGameObject::triggerObject @ 0x870000 // > @ 0x899f8 // // 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:25 +0000 // __int64 __fastcall GJBaseGameLayer::controlTriggersWithControlID( unsigned __int64 *a1, unsigned int a2, unsigned int a3) { _QWORD *i; // x4 __int64 *v7; // x3 __int64 *j; // x0 __int64 v9; // x1 unsigned __int64 v10; // x0 __int64 v11; // x0 __int64 v12; // x24 GradientTriggerObject **v13; // x20 __int64 v14; // x1 GradientTriggerObject *v15; // x0 GradientTriggerObject **v16; // x19 void *v18; // [xsp+50h] [xbp+50h] BYREF GradientTriggerObject **v19; // [xsp+58h] [xbp+58h] GradientTriggerObject **v20; // [xsp+60h] [xbp+60h] GJEffectManager::controlActionsForControlID(a1[269]); GJBaseGameLayer::controlAreaEffectWithID(a1, 0xFFFFFFFF, a2, a3); GJBaseGameLayer::controlAdvancedFollowCommand((__int64)a1, 0, a2, a3); GJBaseGameLayer::controlEventLink(a1, -1, a2, a3); GJBaseGameLayer::controlDynamicMoveCommand((__int64)a1, 0, a2, a3); GJBaseGameLayer::controlDynamicRotateCommand((__int64)a1, 0, a2, a3); GJGameState::controlTweenAction((__int64)(a1 + 53), -1, a2, a3); for ( i = (_QWORD *)a1[502]; i; i = (_QWORD *)*i ) { v7 = (__int64 *)i[4]; for ( j = (__int64 *)i[3]; v7 != j; *(_BYTE *)(v9 + 1904) = a3 != 2 ) { while ( 1 ) { v9 = *j; if ( a2 == *(_DWORD *)(*j + 1672) ) break; if ( v7 == ++j ) goto LABEL_7; } ++j; } LABEL_7: ; } v10 = a1[1550]; v18 = nullptr; v19 = nullptr; v20 = nullptr; if ( !v10 ) return _stack_chk_guard; v11 = *(_QWORD *)(v10 + 56); if ( !v11 ) return _stack_chk_guard; v12 = *(_QWORD *)(v11 + 288); v13 = nullptr; while ( 1 ) { v14 = *(_QWORD *)(v11 + 264); v15 = *(GradientTriggerObject **)(v14 + 584); if ( v15 ) { if ( a2 == *((_DWORD *)v15 + 418) ) break; } LABEL_13: if ( !v12 ) goto LABEL_19; LABEL_14: v11 = v12; v12 = *(_QWORD *)(v12 + 288); } if ( v13 == v20 ) { std::vector::__push_back_slow_path( (__int64)&v18, (_QWORD *)(v14 + 584)); v13 = v19; goto LABEL_13; } if ( v13 ) { *v13 = v15; v13 = v19; } v19 = ++v13; if ( v12 ) goto LABEL_14; LABEL_19: v16 = (GradientTriggerObject **)v18; if ( v13 != v18 ) { do GJBaseGameLayer::controlGradientTrigger((cocos2d::CCDictionary **)a1, *v16++, a3); while ( v13 != v16 ); v13 = (GradientTriggerObject **)v18; } if ( v13 ) { if ( v19 != v13 ) v19 += ~((unsigned __int64)((char *)(v19 - 1) - (char *)v13) >> 3); operator delete(v13); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source