//
// OBB2D::init from 0x3d7828 to 0x3d7876 (78 bytes)
//
// 1 xrefs:
// > OBB2D::create @ 0x3d7914
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:45 +0000
//
int __fastcall OBB2D::init(cocos2d::CCNode *a1, const cocos2d::CCPoint *a2, float a3, float a4, float a5)
{
int v9; // r5
_BYTE v11[8]; // [sp+Ch] [bp-Ch] BYREF
v9 = cocos2d::CCNode::init(a1);
if ( v9 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, a2);
OBB2D::calculateWithCenter(a1, (int)v11, a3, a4, a5);
}
return v9;
}