// // PlayerObject::unrotateGameplayObject from 0x442328 to 0x442428 (256 bytes) // // 3 xrefs: // > PlayerObject::unrotatePreSlopeObjects @ 0x44243e // > PlayerObject::handleRotatedCollisionInternal @ 0x442800 // > PlayerObject::spiderTestJumpInternal @ 0x444258 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:48:27 +0000 // _DWORD *__fastcall PlayerObject::unrotateGameplayObject(PlayerObject *this, GameObject *a2) { int *v2; // r8 _DWORD *result; // r0 double *v5; // r6 int LastPosition; // r0 float v7; // s12 float v8; // s14 int v9; // r9 int v10; // r3 _BYTE v11[8]; // [sp+Ch] [bp-18h] BYREF unsigned int v12[2]; // [sp+14h] [bp-10h] BYREF v2 = (int *)((char *)this + 1432); v12[0] = *((_DWORD *)a2 + 195); result = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_DWORD *)this + 358, v12); if ( result ) { (*(void (__fastcall **)(GameObject *, int))(*(_DWORD *)a2 + 888))(a2, 1); v12[0] = *((_DWORD *)a2 + 195); v5 = (double *)std::unordered_map::operator[]((int)v2, v12); GameObject::addToTempOffset(a2, COERCE_DOUBLE(*(_QWORD *)v5 ^ 0x8000000000000000LL), -v5[1]); LastPosition = GameObject::getLastPosition(a2); v7 = *v5; v8 = v5[1]; v9 = LastPosition; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -v7, -v8); cocos2d::CCPoint::operator+(v12, v9, v11); GameObject::setLastPosition(a2, (const cocos2d::CCPoint *)v12); v10 = *(_DWORD *)a2; *((float *)a2 + 209) = *((float *)a2 + 209) + 90.0; *((float *)a2 + 210) = *((float *)a2 + 210) + 90.0; (*(void (__fastcall **)(GameObject *, _DWORD))(v10 + 740))(a2, 0); if ( (*(int (__fastcall **)(GameObject *))(*(_DWORD *)a2 + 900))(a2) == 25 ) GameObject::determineSlopeDirection(a2); v12[0] = *((_DWORD *)a2 + 195); return (_DWORD *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__erase_unique( v2, v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source