// // GJEffectManager::registerRotationCommand from 0xa107ec to 0xa109a8 (444 bytes) // // 4 xrefs: // > GJBaseGameLayer::processDynamicObjectActions @ 0x9d8790 // > GJEffectManager::prepareMoveActions @ 0xa10f08 // > GJEffectManager::prepareMoveActions @ 0xa11564 // > @ 0xa3d20 // // 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:59:30 +0000 // __int64 __fastcall GJEffectManager::registerRotationCommand(GJEffectManager *this, GroupCommandObject2 *a2, char a3) { int v4; // w19 int v5; // w3 __int64 **v6; // x24 __int64 v7; // x0 GroupCommandObject2 **v8; // x1 GroupCommandObject2 **v9; // x1 __int64 *v11; // x0 int v12; // w1 int v13; // w1 __int64 v14; // x0 __int64 v15; // x3 __int64 v16; // x2 GroupCommandObject2 *v17; // [xsp+58h] [xbp+58h] BYREF int v18[2]; // [xsp+68h] [xbp+68h] BYREF int *v19; // [xsp+70h] [xbp+70h] BYREF v17 = a2; v4 = *((_DWORD *)a2 + 10); v5 = *((_DWORD *)a2 + 11); v18[0] = v4; v18[1] = v5; if ( !a3 || (v11 = *((__int64 **)this + 201)) == nullptr ) { LABEL_2: v6 = (__int64 **)((char *)this + 1600); goto LABEL_3; } while ( 1 ) { while ( 1 ) { v12 = *((_DWORD *)v11 + 8); if ( v4 >= v12 ) break; LABEL_19: v11 = (__int64 *)*v11; if ( !v11 ) goto LABEL_2; } if ( v4 <= v12 ) break; LABEL_21: v11 = (__int64 *)v11[1]; if ( !v11 ) goto LABEL_2; } v13 = *((_DWORD *)v11 + 9); if ( v5 < v13 ) goto LABEL_19; if ( v5 > v13 ) goto LABEL_21; v6 = (__int64 **)((char *)this + 1600); v19 = v18; v14 = std::__tree,std::vector>,std::__map_value_compare,std::__value_type,std::vector>,std::less>,true>,std::allocator,std::vector>>>::__emplace_unique_key_args,std::piecewise_construct_t const&,std::tuple const&>,std::tuple<>>( (__int64 **)this + 200, v18, (__int64)algn_116D748, (_QWORD **)&v19); v15 = *(_QWORD *)(v14 + 40); v16 = *(_QWORD *)(v14 + 48); if ( v15 != v16 ) *(_QWORD *)(v14 + 48) = v16 + 8 * ~((unsigned __int64)(v16 - 8 - v15) >> 3); LABEL_3: v19 = v18; v7 = std::__tree,std::vector>,std::__map_value_compare,std::__value_type,std::vector>,std::less>,true>,std::allocator,std::vector>>>::__emplace_unique_key_args,std::piecewise_construct_t const&,std::tuple const&>,std::tuple<>>( v6, v18, (__int64)algn_116D748, (_QWORD **)&v19); v8 = *(GroupCommandObject2 ***)(v7 + 48); if ( v8 == *(GroupCommandObject2 ***)(v7 + 56) ) { std::vector::__push_back_slow_path(v7 + 40, &v17); } else { if ( v8 ) { *v8 = v17; v8 = *(GroupCommandObject2 ***)(v7 + 48); } *(_QWORD *)(v7 + 48) = v8 + 1; } v9 = *((GroupCommandObject2 ***)this + 163); if ( v9 == *((GroupCommandObject2 ***)this + 164) ) { std::vector::__push_back_slow_path((__int64)this + 1296, &v17); } else { if ( v9 ) { *v9 = v17; v9 = *((GroupCommandObject2 ***)this + 163); } *((_QWORD *)this + 163) = v9 + 1; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source