// // OBB2D::computeAxes from 0x3d74ac to 0x3d7562 (182 bytes) // // 1 xrefs: // > OBB2D::calculateWithCenter @ 0x3d7800 // // 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:46:45 +0000 // int __fastcall OBB2D::computeAxes(OBB2D *this) { char *v1; // r8 float *v3; // r4 float *v4; // r0 int result; // r0 _BYTE v6[8]; // [sp+4h] [bp+0h] BYREF v1 = (char *)this + 264; v3 = (float *)((char *)this + 328); cocos2d::CCPoint::operator-(v6, (char *)this + 272, (char *)this + 264); cocos2d::CCPoint::operator=(v3, v6); cocos2d::CCPoint::operator-(v6, (char *)this + 288, v1); cocos2d::CCPoint::operator=((char *)this + 336, v6); do { cocos2d::CCPoint::operator*(v6, v3, 1.0 / (float)((float)(v3[1] * v3[1]) + (float)(*v3 * *v3))); v4 = v3; v3 += 2; result = cocos2d::CCPoint::operator=(v4, v6); *((double *)v3 + 3) = (float)((float)(*((float *)this + 67) * *(v3 - 1)) + (float)(*((float *)this + 66) * *(v3 - 2))); } while ( v3 != (float *)((char *)this + 344) ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source