// // OBB2D::getBoundingRect from 0x14007bd30 to 0x14007be3a (266 bytes) // // 5 xrefs: // > GameObject::getObjectRect2 @ 0x140294a32 // > GJBaseGameLayer::preUpdateVisibility @ 0x14033f3af // > GJBaseGameLayer::preUpdateVisibility @ 0x14033f42d // > LevelEditorLayer::getObjectRect @ 0x1403f1cb4 // > @ 0x140911dc8 // // 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 11:25:53 +0000 // cocos2d::CCRect *__fastcall OBB2D::getBoundingRect(__int64 a1, cocos2d::CCRect *a2) { const struct cocos2d::CCPoint *v2; // rbx float v4; // xmm7_4 float v5; // xmm6_4 float v6; // xmm10_4 float v7; // xmm9_4 __int64 v8; // rdi float v9; // xmm0_4 float v11; // [rsp+98h] [rbp+10h] BYREF float v12; // [rsp+9Ch] [rbp+14h] v2 = (const struct cocos2d::CCPoint *)(a1 + 320); v4 = 0.0; v5 = 0.0; v6 = 0.0; v7 = 0.0; v8 = 4; do { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, v2); v6 = fmaxf(v11, v6); if ( v4 > v11 || v4 == 0.0 ) v4 = v11; v9 = fmaxf(v12, v7); v7 = v9; if ( v5 > v12 || v5 == 0.0 ) v5 = v12; v2 = (const struct cocos2d::CCPoint *)((char *)v2 + 8); --v8; } while ( v8 ); cocos2d::CCRect::CCRect(a2, v4, v5, v6 - v4, v9 - v5); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source