// // OBB2D::create from 0x6aece0 to 0x6aee50 (368 bytes) // // 5 xrefs: // > GameObject::updateOrientedBox @ 0x770fd8 // > LevelEditorLayer::init @ 0x7aef20 // > GJBaseGameLayer::init @ 0x9bd410 // > GJBaseGameLayer::init @ 0x9bd438 // > @ 0xbc4a0 // // This function is hookable on this platform (idp: arm, 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:50:49 +0000 // __int64 *__fastcall OBB2D::create(const cocos2d::CCPoint *a1, float a2, float a3, float a4) { __int64 *v8; // x20 cocos2d::CCPoint *v9; // x19 __int64 v10; // x1 __int64 *v11; // x0 _BYTE v13[8]; // [xsp+50h] [xbp+50h] BYREF v8 = (__int64 *)operator new(0x1B8u); memset(v8, 0, 0x1B8u); cocos2d::CCNode::CCNode((cocos2d::CCNode *)v8); v9 = (cocos2d::CCPoint *)((char *)v8 + 316); *v8 = (__int64)&off_141C020; do { cocos2d::CCPoint::CCPoint(v9); v9 = (cocos2d::CCPoint *)((char *)v9 + 8); } while ( v9 != (cocos2d::CCPoint *)((char *)v8 + 348) ); do { cocos2d::CCPoint::CCPoint(v9); v9 = (cocos2d::CCPoint *)((char *)v9 + 8); } while ( v9 != (cocos2d::CCPoint *)((char *)v8 + 380) ); do { cocos2d::CCPoint::CCPoint(v9); v9 = (cocos2d::CCPoint *)((char *)v9 + 8); } while ( v9 != (cocos2d::CCPoint *)((char *)v8 + 412) ); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 54)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, a1); if ( (unsigned __int8)OBB2D::init((cocos2d::CCNode *)v8, (const cocos2d::CCPoint *)v13, a2, a3, a4) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); } else { v10 = *v8; v11 = v8; v8 = nullptr; (*(void (__fastcall **)(__int64 *))(v10 + 16))(v11); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source