// // GJBaseGameLayer::updateOBB2 from 0x46e984 to 0x46e9ec (104 bytes) // // 4 xrefs: // > LevelEditorLayer::objectAtPosition @ 0x3668dc // > LevelEditorLayer::objectsAtPosition @ 0x366ad2 // > LevelEditorLayer::objectsInRect @ 0x366cd2 // > GJBaseGameLayer::damagingObjectsInRect @ 0x46ea16 // // 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 // void GJBaseGameLayer::updateOBB2(GJBaseGameLayer *a1, cocos2d::CCRect a2) { OBB2D *m_obb2; // r8 float x; // r4 cocos2d::CCPoint v4; // r1 float v5; // [sp+4h] [bp-10h] cocos2d::CCPoint v6; // [sp+Ch] [bp-8h] BYREF _BYTE v7[8]; // [sp+14h] [bp+0h] BYREF m_obb2 = a1->m_obb2; x = a2.origin.x; cocos2d::CCPoint::CCPoint( &v6, *(float *)(LODWORD(a2.origin.x) + 8) * 0.5, *(float *)(LODWORD(a2.origin.x) + 12) * 0.5); cocos2d::CCPoint::operator+(v7, LODWORD(x), &v6); v4.y = *(float *)(LODWORD(x) + 8); LODWORD(v4.x) = v7; OBB2D::calculateWithCenter(m_obb2, v4, *(float *)(LODWORD(x) + 12), 0.0, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source