//
// OBB2D::init from 0x1006c6300 to 0x1006c6365 (101 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:35:34 +0000
//
char __fastcall OBB2D::init(__int64 a1, _QWORD *a2, float a3, float a4, float a5)
{
char result; // al
char v6; // r14
__int64 v7; // [rsp+4h] [rbp-2Ch] BYREF
float v8; // [rsp+Ch] [rbp-24h]
float v9; // [rsp+10h] [rbp-20h]
float v10; // [rsp+14h] [rbp-1Ch]
v8 = a5;
v9 = a4;
v10 = a3;
result = cocos2d::CCNode::init();
if ( result )
{
v6 = result;
sub_1002782D0(&v7, a2);
OBB2D::calculateWithCenter(a1, &v7, v10, v9, v8);
return v6;
}
return result;
}