{"type": "func", "start": 4300905680, "end": 4300905803, "name": "GameObject::updateCustomScaleY", "pseudocode": "// \n// GameObject::updateCustomScaleY from 0x1005a9cd0 to 0x1005a9d4b (123 bytes)\n// \n// 21 xrefs:\n// > EditorUI::onCreateObject @ 0x100034f70\n// > EditorUI::createObject @ 0x10003a542\n// > EditorUI::scaleObjects @ 0x10003f9fe\n// > EditorUI::scaleYChanged @ 0x10003fd87\n// > sub_10003FE00 @ 0x10003fe36\n// > EditorUI::transformObjects @ 0x100040b32\n// > EditorUI::addObjectsToSmartTemplate @ 0x1000425d7\n// > EditorUI::createPrefab @ 0x100043a55\n// > EditorUI::createPrefab @ 0x100043aa4\n// > EditorUI::processSmartObjectsFromType @ 0x1000442b4\n// > EditorUI::processSmartObjectsFromType @ 0x100044538\n// > EditorUI::createNewKeyframeAnim @ 0x100045634\n// > EditorUI::createLoop @ 0x100045b79\n// > EditorUI::createLoop @ 0x100045d55\n// > PlayLayer::addObject @ 0x1000b246d\n// > PlayLayer::addObject @ 0x1000b296b\n// > GameObjectCopy::resetObject @ 0x1000e33d7\n// > EditorUI::createOutlines @ 0x100614e3e\n// > EditorUI::createOutlines @ 0x100614ef9\n// > EditorUI::createRockBases @ 0x100615c1b\n// > EditorUI::createRockBases @ 0x100615d38\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GameObject::updateCustomScaleY(GameObject *a1, float a2)\n{\n  __m128 v2; // xmm0\n  __m128 v3; // xmm2\n\n  v2.f32[0] = a2 * 1000.0;\n  v3 = _mm_or_ps(_mm_and_ps((__m128)xmmword_1008150B0, v2), (__m128)xmmword_1008150C0);\n  v3.f32[0] = v3.f32[0] + v2.f32[0];\n  v2.f32[0] = _mm_cvtepi32_ps(_mm_cvttps_epi32(_mm_round_ss((__m128)0LL, v3, 11))).f32[0] / 1000.0;\n  LODWORD(a1->m_scaleY) = v2.i32[0];\n  LODWORD(a1->m_customScaleY) = v2.i32[0];\n  a1->m_fScaleY = 0.0;\n  ((void (__fastcall *)(GameObject *, float))a1->setRScaleY)(a1, 1.0);\n  a1->m_isDirty = 1;\n  a1->m_isObjectRectDirty = 1;\n}", "assembly": "; \n; GameObject::updateCustomScaleY from 0x1005a9cd0 to 0x1005a9d4b (123 bytes)\n; \n; 21 xrefs:\n; > EditorUI::onCreateObject @ 0x100034f70\n; > EditorUI::createObject @ 0x10003a542\n; > EditorUI::scaleObjects @ 0x10003f9fe\n; > EditorUI::scaleYChanged @ 0x10003fd87\n; > sub_10003FE00 @ 0x10003fe36\n; > EditorUI::transformObjects @ 0x100040b32\n; > EditorUI::addObjectsToSmartTemplate @ 0x1000425d7\n; > EditorUI::createPrefab @ 0x100043a55\n; > EditorUI::createPrefab @ 0x100043aa4\n; > EditorUI::processSmartObjectsFromType @ 0x1000442b4\n; > EditorUI::processSmartObjectsFromType @ 0x100044538\n; > EditorUI::createNewKeyframeAnim @ 0x100045634\n; > EditorUI::createLoop @ 0x100045b79\n; > EditorUI::createLoop @ 0x100045d55\n; > PlayLayer::addObject @ 0x1000b246d\n; > PlayLayer::addObject @ 0x1000b296b\n; > GameObjectCopy::resetObject @ 0x1000e33d7\n; > EditorUI::createOutlines @ 0x100614e3e\n; > EditorUI::createOutlines @ 0x100614ef9\n; > EditorUI::createRockBases @ 0x100615c1b\n; > EditorUI::createRockBases @ 0x100615d38\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, 0x1005a9cd0\nmov     rbp, rsp                                                       ; +0x1, 0x1005a9cd1\npush    rbx                                                            ; +0x4, 0x1005a9cd4\npush    rax                                                            ; +0x5, 0x1005a9cd5\nmov     rbx, rdi                                                       ; +0x6, 0x1005a9cd6\nmovss   xmm1, cs:dword_1008152B8                                       ; +0x9, 0x1005a9cd9\nmulss   xmm0, xmm1                                                     ; +0x11, 0x1005a9ce1\nmovaps  xmm2, cs:xmmword_1008150B0                                     ; +0x15, 0x1005a9ce5\nandps   xmm2, xmm0                                                     ; +0x1c, 0x1005a9cec\norps    xmm2, cs:xmmword_1008150C0                                     ; +0x1f, 0x1005a9cef\naddss   xmm2, xmm0                                                     ; +0x26, 0x1005a9cf6\nxorps   xmm0, xmm0                                                     ; +0x2a, 0x1005a9cfa\nroundss xmm0, xmm2, 0Bh                                                ; +0x2d, 0x1005a9cfd\ncvttps2dq xmm0, xmm0                                                   ; +0x33, 0x1005a9d03\ncvtdq2ps xmm0, xmm0                                                    ; +0x37, 0x1005a9d07\ndivss   xmm0, xmm1                                                     ; +0x3a, 0x1005a9d0a\nmovss   dword ptr [rdi+484h], xmm0                                     ; +0x3e, 0x1005a9d0e\nmovss   dword ptr [rdi+3E0h], xmm0                                     ; +0x46, 0x1005a9d16\nmov     dword ptr [rdi+44h], 0                                         ; +0x4e, 0x1005a9d1e\nmov     rax, [rdi]                                                     ; +0x55, 0x1005a9d25\nmovss   xmm0, cs:alpha                                                 ; +0x58, 0x1005a9d28\ncall    qword ptr [rax+598h]                                           ; +0x60, 0x1005a9d30\nmov     byte ptr [rbx+348h], 1                                         ; +0x66, 0x1005a9d36\nmov     byte ptr [rbx+360h], 1                                         ; +0x6d, 0x1005a9d3d\nadd     rsp, 8                                                         ; +0x74, 0x1005a9d44\npop     rbx                                                            ; +0x78, 0x1005a9d48\npop     rbp                                                            ; +0x79, 0x1005a9d49\nretn                                                                   ; +0x7a, 0x1005a9d4a", "xrefs": ["EditorUI::onCreateObject @ 0x100034f70", "EditorUI::createObject @ 0x10003a542", "EditorUI::scaleObjects @ 0x10003f9fe", "EditorUI::scaleYChanged @ 0x10003fd87", "sub_10003FE00 @ 0x10003fe36", "EditorUI::transformObjects @ 0x100040b32", "EditorUI::addObjectsToSmartTemplate @ 0x1000425d7", "EditorUI::createPrefab @ 0x100043a55", "EditorUI::createPrefab @ 0x100043aa4", "EditorUI::processSmartObjectsFromType @ 0x1000442b4", "EditorUI::processSmartObjectsFromType @ 0x100044538", "EditorUI::createNewKeyframeAnim @ 0x100045634", "EditorUI::createLoop @ 0x100045b79", "EditorUI::createLoop @ 0x100045d55", "PlayLayer::addObject @ 0x1000b246d", "PlayLayer::addObject @ 0x1000b296b", "GameObjectCopy::resetObject @ 0x1000e33d7", "EditorUI::createOutlines @ 0x100614e3e", "EditorUI::createOutlines @ 0x100614ef9", "EditorUI::createRockBases @ 0x100615c1b", "EditorUI::createRockBases @ 0x100615d38"], "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"}