//
// OBB2D::init from 0x1005f35b0 to 0x1005f3615 (101 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall OBB2D::init(OBB2D *a1, cocos2d::CCPoint a2, float a3, float a4, float a5)
{
double *v5; // rsi
bool result; // al
bool v7; // r14
__int64 v8; // [rsp+4h] [rbp-2Ch] BYREF
float v9; // [rsp+Ch] [rbp-24h]
float v10; // [rsp+10h] [rbp-20h]
float x; // [rsp+14h] [rbp-1Ch]
v9 = a4;
v10 = a3;
x = a2.x;
result = cocos2d::CCNode::init(a1);
if ( result )
{
v7 = result;
sub_10028CC60(&v8, v5);
OBB2D::calculateWithCenter(a1, (cocos2d::CCPoint)LODWORD(x), v10, v9, a5);
return v7;
}
return result;
}