// // GJBaseGameLayer::claimMoveAction from 0x862dd0 to 0x862f04 (308 bytes) // // 3 xrefs: // > GJBaseGameLayer::processRotationActions @ 0x86e578 // > GJBaseGameLayer::processTransformActions @ 0x86ed90 // > @ 0xab6d8 // // 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 // cocos2d::CCPoint GJBaseGameLayer::claimMoveAction(GJBaseGameLayer *a1, int a2, bool a3) { cocos2d::CCPoint *v3; // x8 GJEffectManager *m_effectManager; // x0 std::_Hashtable, std::allocator>, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>::size_type M_bucket_count; // x5 unsigned __int64 v6; // x9 std::_Hashtable, std::allocator>, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>::__bucket_type v7; // x7 std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_base *M_nxt; // x4 int v9; // w6 std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_base v10; // x0 float i; // s1 float v12; // s0 std::__detail::_Hash_node_base *v15; // x1 std::__detail::_Hash_node_base *v16; // x2 std::__detail::_Hash_node_base *v17; // x0 std::__detail::_Hash_node_base *v18; // x0 std::__detail::_Hash_node_base *v19; // t1 std::__detail::_Hash_node_base *v20; // t1 float v21; // s0 float v22; // s1 cocos2d::CCPoint result; // 0:s0.4,4:s1.4 m_effectManager = a1->m_effectManager; M_bucket_count = m_effectManager->m_unkMap618._M_h._M_bucket_count; v6 = a2 % M_bucket_count; v7 = m_effectManager->m_unkMap618._M_h._M_buckets[v6]; if ( !v7 ) goto LABEL_6; M_nxt = v7->_M_nxt; v9 = (int)v7->_M_nxt[1]._M_nxt; while ( v9 != a2 ) { v10._M_nxt = M_nxt->_M_nxt; v7 = M_nxt; M_nxt = v10._M_nxt; if ( v10._M_nxt ) { v9 = (int)v10._M_nxt[1]._M_nxt; if ( v6 == v9 % M_bucket_count ) continue; } goto LABEL_6; } if ( !v7->_M_nxt || (v15 = v7->_M_nxt[2]._M_nxt) == nullptr || LOBYTE(v15[26]._M_nxt) || BYTE1(v15[26]._M_nxt) ) { LABEL_6: i = 0.0; v12 = 0.0; LABEL_7: cocos2d::CCPoint::CCPoint(v3, v12, i); return result; } LOBYTE(v15[26]._M_nxt) = 1; if ( !a3 ) { v16 = v15[28]._M_nxt; v17 = v15[27]._M_nxt; v12 = *(double *)&v15[7]._M_nxt; for ( i = *(double *)&v15[8]._M_nxt; v16 != v17; v20[45]._M_nxt = nullptr ) { v19 = v17->_M_nxt; v18 = v17 + 1; v19[44]._M_nxt = nullptr; v19[45]._M_nxt = nullptr; if ( v16 == v18 ) break; v20 = v18->_M_nxt; v17 = v18 + 1; v20[44]._M_nxt = nullptr; } goto LABEL_7; } v21 = *(double *)&v15[18]._M_nxt; v22 = *(double *)&v15[19]._M_nxt; cocos2d::CCPoint::CCPoint(v3, v21, v22); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source