// // GJBaseGameLayer::updateOBB2 from 0x1001e575c to 0x1001e57c0 (100 bytes) // // 4 xrefs: // > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e53ac // > LevelEditorLayer::objectsInRect @ 0x10035a90c // > LevelEditorLayer::objectAtPosition @ 0x10035ac74 // > LevelEditorLayer::objectsAtPosition @ 0x10035b2b0 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GJBaseGameLayer::updateOBB2(GJBaseGameLayer *a1, cocos2d::CCRect a2) { __int64 v2; // x1 __int64 v3; // x19 OBB2D *m_obb2; // x20 float v5; // s3 float v6; // s4 float32x2_t v7; // [xsp+0h] [xbp-20h] BYREF float32x2_t v8; // [xsp+8h] [xbp-18h] BYREF v3 = v2; m_obb2 = a1->m_obb2; a2.origin.x = *(float *)(v2 + 8) * 0.5; a2.origin.y = *(float *)(v2 + 12) * 0.5; sub_100022980((__n128)a2, *(__n128 *)((char *)&a2 + 4), &v7); sub_1000229DC((float32x2_t *)v3, &v7, &v8); OBB2D::calculateWithCenter(m_obb2, *(cocos2d::CCPoint *)(v3 + 8), 0.0, v5, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source