{"type": "func", "start": 4297468072, "end": 4297468116, "name": "GameObject::getObjectRadius", "pseudocode": "// \n// GameObject::getObjectRadius from 0x1002628a8 to 0x1002628d4 (44 bytes)\n// \n// 7 xrefs:\n// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4984\n// > GJBaseGameLayer::updateDebugDraw @ 0x1001e499c\n// > GJBaseGameLayer::updateDebugDraw @ 0x1001e49ac\n// > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e5650\n// > GJBaseGameLayer::playerIntersectsCircle @ 0x1001e5af4\n// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5b7c\n// > ForceBlockGameObject::calculateForceToTarget @ 0x100396dec\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat __fastcall GameObject::getObjectRadius(GameObject *a1)\n{\n  float m_scaleX; // s0\n  float m_scaleY; // s1\n  float v3; // s2\n  bool v4; // zf\n  float result; // s0\n\n  m_scaleX = a1->m_scaleX;\n  m_scaleY = a1->m_scaleY;\n  if ( m_scaleX >= m_scaleY )\n    v3 = a1->m_scaleX;\n  else\n    v3 = a1->m_scaleY;\n  v4 = m_scaleY == 1.0 && m_scaleX == 1.0;\n  result = a1->m_objectRadius;\n  if ( !v4 )\n    return result * v3;\n  return result;\n}", "assembly": "; \n; GameObject::getObjectRadius from 0x1002628a8 to 0x1002628d4 (44 bytes)\n; \n; 7 xrefs:\n; > GJBaseGameLayer::updateDebugDraw @ 0x1001e4984\n; > GJBaseGameLayer::updateDebugDraw @ 0x1001e499c\n; > GJBaseGameLayer::updateDebugDraw @ 0x1001e49ac\n; > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e5650\n; > GJBaseGameLayer::playerIntersectsCircle @ 0x1001e5af4\n; > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5b7c\n; > ForceBlockGameObject::calculateForceToTarget @ 0x100396dec\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             S0, [X0,#0x480]                                        ; +0x0, 0x1002628a8\nLDR             S1, [X0,#0x484]                                        ; +0x4, 0x1002628ac\nFCMP            S0, S1                                                 ; +0x8, 0x1002628b0\nFCSEL           S2, S1, S0, MI                                         ; +0xc, 0x1002628b4\nFMOV            S3, #1.0                                               ; +0x10, 0x1002628b8\nFCMP            S1, S3                                                 ; +0x14, 0x1002628bc\nFCCMP           S0, S3, #0, EQ                                         ; +0x18, 0x1002628c0\nLDR             S0, [X0,#0x384]                                        ; +0x1c, 0x1002628c4\nFMUL            S1, S0, S2                                             ; +0x20, 0x1002628c8\nFCSEL           S0, S0, S1, EQ                                         ; +0x24, 0x1002628cc\nRET                                                                    ; +0x28, 0x1002628d0", "xrefs": ["GJBaseGameLayer::updateDebugDraw @ 0x1001e4984", "GJBaseGameLayer::updateDebugDraw @ 0x1001e499c", "GJBaseGameLayer::updateDebugDraw @ 0x1001e49ac", "GJBaseGameLayer::damagingObjectsInRect @ 0x1001e5650", "GJBaseGameLayer::playerIntersectsCircle @ 0x1001e5af4", "GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5b7c", "ForceBlockGameObject::calculateForceToTarget @ 0x100396dec"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}