// // OBB2D::create from 0x1005f34f0 to 0x1005f3592 (162 bytes) // // 4 xrefs: // > LevelEditorLayer::init @ 0x1000dbb0f // > GJBaseGameLayer::init @ 0x10010ff91 // > GJBaseGameLayer::init @ 0x10010ffc1 // > GameObject::updateOrientedBox @ 0x1005c9d0b // // 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 // OBB2D *__fastcall OBB2D::create(cocos2d::CCPoint a1, float a2, float a3, float a4) { double *v4; // rdi OBB2D *v5; // rbx double v6; // xmm0_8 __int64 v8; // [rsp+4h] [rbp-2Ch] BYREF __int64 v9; // [rsp+Ch] [rbp-24h] BYREF float v10; // [rsp+14h] [rbp-1Ch] float v11; // [rsp+18h] [rbp-18h] float x; // [rsp+1Ch] [rbp-14h] v10 = a3; v11 = a2; x = a1.x; v5 = (OBB2D *)operator new(0x1B8u); __bzero(v5, 440); sub_1005F4080(v5, *(double *)&a1, a2, a3, a4); v6 = sub_10028CC60(&v9, v4); if ( cocos2d::CCNode::init(v5) ) { sub_10028CC60(&v8, (double *)&v9); OBB2D::calculateWithCenter(v5, (cocos2d::CCPoint)LODWORD(x), v11, v10, a4); cocos2d::CCObject::autorelease(v5); } else { ((void (__fastcall *)(OBB2D *, double))v5->~OBB2D_0)(v5, v6); return nullptr; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source