// // GJBaseGameLayer::claimRotationAction from 0x1001f8bbc to 0x1001f8cc8 (268 bytes) // // 2 xrefs: // > GJBaseGameLayer::processTransformActions @ 0x1001f77f8 // > GJBaseGameLayer::processRotationActions @ 0x1001f8094 // // 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 __fastcall GJBaseGameLayer::claimRotationAction( GJBaseGameLayer *a1, int a2, int a3, float *a4, float *a5, bool a6, bool a7) { GJEffectManager *m_effectManager; // x22 std::__tree_end_node *>::pointer left; // x8 _BOOL4 v9; // w21 int v12; // w9 int v13; // w9 __int64 **v14; // x0 __int64 *v15; // x8 __int64 *v16; // x9 __int64 v17; // x10 __int64 v18; // x11 __int64 v19; // x13 float v20; // s0 __int64 v21; // [xsp+8h] [xbp-28h] BYREF v21 = (unsigned int)a2 | (*(_QWORD *)&a3 << 32); m_effectManager = a1->m_effectManager; left = m_effectManager->m_unkMap770.__tree_.__pair1_.__value_.__left_; if ( !left ) return; v9 = a6; while ( 1 ) { v12 = *((_DWORD *)left + 8); if ( v12 <= a2 ) { if ( v12 < a2 ) goto LABEL_8; v13 = *((_DWORD *)left + 9); if ( v13 <= a3 ) break; } LABEL_9: left = *(std::__tree_end_node *>::pointer *)left; if ( !left ) return; } if ( v13 < a3 ) { LABEL_8: left = (std::__tree_end_node *>::pointer)((char *)left + 8); goto LABEL_9; } v14 = (__int64 **)sub_1001F92D0(&m_effectManager->m_unkMap770, &v21); v15 = *v14; v16 = v14[1]; if ( *v14 != v16 ) { v17 = 160; if ( v9 ) v17 = 168; v18 = 272; if ( v9 ) v18 = 280; do { v19 = *v15; if ( (*(_BYTE *)(*v15 + 424) & 1) == 0 ) { *(_BYTE *)(v19 + 424) = 1; v20 = *(double *)(v19 + v17) - *(double *)(v19 + v18); *a4 = *a4 + v20; if ( (*(_BYTE *)(v19 + 184) & 1) == 0 ) *a5 = *a5 + v20; } ++v15; } while ( v15 != v16 ); } sub_100210878(&m_effectManager->m_unkMap770, &v21); }
GD Web Decomp Icon

GD Web Decomp

Raw Source