// // GJBaseGameLayer::updateOBB2 from 0x100122d80 to 0x100122df4 (116 bytes) // // 3 xrefs: // > LevelEditorLayer::objectsInRect @ 0x1000e0c9c // > LevelEditorLayer::objectAtPosition @ 0x1000e122d // > LevelEditorLayer::objectsAtPosition @ 0x1000e19ad // // 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 __fastcall GJBaseGameLayer::updateOBB2(GJBaseGameLayer *a1, cocos2d::CCRect a2) { __int64 v2; // rsi float v3; // xmm3_4 OBB2D *m_obb2; // rbx _BYTE v5[8]; // [rsp+0h] [rbp-30h] BYREF _BYTE v6[40]; // [rsp+8h] [rbp-28h] BYREF m_obb2 = a1->m_obb2; sub_10028CBE0(v6, *(float *)(v2 + 8) * 0.5, 0.5 * *(float *)(v2 + 12)); sub_10028CCE0(v5, v2); OBB2D::calculateWithCenter(m_obb2, (cocos2d::CCPoint)*(unsigned int *)(v2 + 8), *(float *)(v2 + 12), 0.0, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source