{"type": "func", "start": 4301043472, "end": 4301043540, "name": "GameObject::getObjectRadius", "pseudocode": "// \n// GameObject::getObjectRadius from 0x1005cb710 to 0x1005cb754 (68 bytes)\n// \n// 10 xrefs:\n// > GJBaseGameLayer::updateDebugDraw @ 0x100121c3b\n// > GJBaseGameLayer::updateDebugDraw @ 0x100121c5a\n// > GJBaseGameLayer::updateDebugDraw @ 0x100121c75\n// > GJBaseGameLayer::damagingObjectsInRect @ 0x100122c45\n// > GJBaseGameLayer::playerCircleCollision @ 0x1001231ae\n// > GJBaseGameLayer::playerIntersectsCircle @ 0x10012323a\n// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001232ae\n// > GJBaseGameLayer::checkCollisions @ 0x1001267aa\n// > GJBaseGameLayer::collisionCheckObjects @ 0x100126d1a\n// > ForceBlockGameObject::calculateForceToTarget @ 0x1001ecce3\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 result; // xmm0_4\n  __m128 m_scaleY_low; // xmm1\n\n  result = a1->m_objectRadius;\n  m_scaleY_low = (__m128)LODWORD(a1->m_scaleY);\n  if ( (_mm_cvtsi128_si32((__m128i)_mm_and_ps(\n                                     _mm_cmpeq_ps((__m128)0x3F800000u, m_scaleY_low),\n                                     _mm_cmpeq_ps((__m128)LODWORD(a1->m_scaleX), (__m128)0x3F800000u)))\n      & 1) == 0 )\n    return result * fmaxf(m_scaleY_low.f32[0], a1->m_scaleX);\n  return result;\n}", "assembly": "; \n; GameObject::getObjectRadius from 0x1005cb710 to 0x1005cb754 (68 bytes)\n; \n; 10 xrefs:\n; > GJBaseGameLayer::updateDebugDraw @ 0x100121c3b\n; > GJBaseGameLayer::updateDebugDraw @ 0x100121c5a\n; > GJBaseGameLayer::updateDebugDraw @ 0x100121c75\n; > GJBaseGameLayer::damagingObjectsInRect @ 0x100122c45\n; > GJBaseGameLayer::playerCircleCollision @ 0x1001231ae\n; > GJBaseGameLayer::playerIntersectsCircle @ 0x10012323a\n; > GJBaseGameLayer::objectIntersectsCircle @ 0x1001232ae\n; > GJBaseGameLayer::checkCollisions @ 0x1001267aa\n; > GJBaseGameLayer::collisionCheckObjects @ 0x100126d1a\n; > ForceBlockGameObject::calculateForceToTarget @ 0x1001ecce3\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\npush    rbp                                                            ; +0x0, 0x1005cb710\nmov     rbp, rsp                                                       ; +0x1, 0x1005cb711\nmovss   xmm0, dword ptr [rdi+384h]                                     ; +0x4, 0x1005cb714\nmovss   xmm2, dword ptr [rdi+480h]                                     ; +0xc, 0x1005cb71c\nmovss   xmm1, dword ptr [rdi+484h]                                     ; +0x14, 0x1005cb724\nmovss   xmm3, cs:alpha                                                 ; +0x1c, 0x1005cb72c\nmovaps  xmm4, xmm2                                                     ; +0x24, 0x1005cb734\ncmpeqps xmm4, xmm3                                                     ; +0x27, 0x1005cb737\ncmpeqps xmm3, xmm1                                                     ; +0x2b, 0x1005cb73b\nandps   xmm3, xmm4                                                     ; +0x2f, 0x1005cb73f\nmovd    eax, xmm3                                                      ; +0x32, 0x1005cb742\ntest    al, 1                                                          ; +0x36, 0x1005cb746\njnz     short loc_1005CB752                                            ; +0x38, 0x1005cb748\nmaxss   xmm1, xmm2                                                     ; +0x3a, 0x1005cb74a\nmulss   xmm0, xmm1                                                     ; +0x3e, 0x1005cb74e\npop     rbp                                                            ; +0x42, 0x1005cb752\nretn                                                                   ; +0x43, 0x1005cb753", "xrefs": ["GJBaseGameLayer::updateDebugDraw @ 0x100121c3b", "GJBaseGameLayer::updateDebugDraw @ 0x100121c5a", "GJBaseGameLayer::updateDebugDraw @ 0x100121c75", "GJBaseGameLayer::damagingObjectsInRect @ 0x100122c45", "GJBaseGameLayer::playerCircleCollision @ 0x1001231ae", "GJBaseGameLayer::playerIntersectsCircle @ 0x10012323a", "GJBaseGameLayer::objectIntersectsCircle @ 0x1001232ae", "GJBaseGameLayer::checkCollisions @ 0x1001267aa", "GJBaseGameLayer::collisionCheckObjects @ 0x100126d1a", "ForceBlockGameObject::calculateForceToTarget @ 0x1001ecce3"], "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"}