{"type": "func", "start": 4301763616, "end": 4301763739, "name": "GameObject::updateCustomScaleY", "pseudocode": "// \n// GameObject::updateCustomScaleY from 0x10067b420 to 0x10067b49b (123 bytes)\n// \n// 22 xrefs:\n// > EditorUI::onCreateObject @ 0x1000111a0\n// > EditorUI::createObject @ 0x100011d12\n// > EditorUI::addObjectsToSmartTemplate @ 0x1000137a7\n// > EditorUI::createPrefab @ 0x1000149eb\n// > EditorUI::createPrefab @ 0x100014a34\n// > EditorUI::processSmartObjectsFromType @ 0x100015384\n// > EditorUI::processSmartObjectsFromType @ 0x100015608\n// > EditorUI::createNewKeyframeAnim @ 0x100016714\n// > EditorUI::createLoop @ 0x100016c59\n// > EditorUI::createLoop @ 0x100016e35\n// > EditorUI::createGradientFromSelection @ 0x100017705\n// > PlayLayer::addObject @ 0x10007f9fb\n// > PlayLayer::addObject @ 0x10007fee9\n// > GameObjectCopy::resetObject @ 0x1000b2f37\n// > EditorUI::scaleObjects @ 0x10061047e\n// > EditorUI::transformObjects @ 0x100610b42\n// > EditorUI::scaleYChanged @ 0x100613267\n// > sub_1006132E0 @ 0x100613316\n// > EditorUI::createOutlines @ 0x1006f18ce\n// > EditorUI::createOutlines @ 0x1006f1989\n// > EditorUI::createRockBases @ 0x1006f267e\n// > EditorUI::createRockBases @ 0x1006f27a0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:03 +0000\n// \n\n__int64 __fastcall GameObject::updateCustomScaleY(__int64 a1, __m128 a2)\n{\n  __m128 v2; // xmm2\n  float v3; // xmm0_4\n  __int64 result; // rax\n\n  a2.f32[0] = a2.f32[0] * 1000.0;\n  v2 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, a2), (__m128)xmmword_100A03600);\n  v2.f32[0] = v2.f32[0] + a2.f32[0];\n  v3 = _mm_cvtepi32_ps(_mm_cvttps_epi32(_mm_round_ss((__m128)0LL, v2, 11))).f32[0] / 1000.0;\n  *(float *)(a1 + 1156) = v3;\n  *(float *)(a1 + 992) = v3;\n  *(_DWORD *)(a1 + 68) = 0;\n  result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1448LL))(a1, 1.0);\n  *(_BYTE *)(a1 + 840) = 1;\n  *(_BYTE *)(a1 + 864) = 1;\n  return result;\n}", "assembly": "; \n; GameObject::updateCustomScaleY from 0x10067b420 to 0x10067b49b (123 bytes)\n; \n; 22 xrefs:\n; > EditorUI::onCreateObject @ 0x1000111a0\n; > EditorUI::createObject @ 0x100011d12\n; > EditorUI::addObjectsToSmartTemplate @ 0x1000137a7\n; > EditorUI::createPrefab @ 0x1000149eb\n; > EditorUI::createPrefab @ 0x100014a34\n; > EditorUI::processSmartObjectsFromType @ 0x100015384\n; > EditorUI::processSmartObjectsFromType @ 0x100015608\n; > EditorUI::createNewKeyframeAnim @ 0x100016714\n; > EditorUI::createLoop @ 0x100016c59\n; > EditorUI::createLoop @ 0x100016e35\n; > EditorUI::createGradientFromSelection @ 0x100017705\n; > PlayLayer::addObject @ 0x10007f9fb\n; > PlayLayer::addObject @ 0x10007fee9\n; > GameObjectCopy::resetObject @ 0x1000b2f37\n; > EditorUI::scaleObjects @ 0x10061047e\n; > EditorUI::transformObjects @ 0x100610b42\n; > EditorUI::scaleYChanged @ 0x100613267\n; > sub_1006132E0 @ 0x100613316\n; > EditorUI::createOutlines @ 0x1006f18ce\n; > EditorUI::createOutlines @ 0x1006f1989\n; > EditorUI::createRockBases @ 0x1006f267e\n; > EditorUI::createRockBases @ 0x1006f27a0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x10067b420\nmov     rbp, rsp                                                       ; +0x1, 0x10067b421\npush    rbx                                                            ; +0x4, 0x10067b424\npush    rax                                                            ; +0x5, 0x10067b425\nmov     rbx, rdi                                                       ; +0x6, 0x10067b426\nmovss   xmm1, cs:dword_100A03738                                       ; +0x9, 0x10067b429\nmulss   xmm0, xmm1                                                     ; +0x11, 0x10067b431\nmovaps  xmm2, cs:xmmword_100A035F0                                     ; +0x15, 0x10067b435\nandps   xmm2, xmm0                                                     ; +0x1c, 0x10067b43c\norps    xmm2, cs:xmmword_100A03600                                     ; +0x1f, 0x10067b43f\naddss   xmm2, xmm0                                                     ; +0x26, 0x10067b446\nxorps   xmm0, xmm0                                                     ; +0x2a, 0x10067b44a\nroundss xmm0, xmm2, 0Bh                                                ; +0x2d, 0x10067b44d\ncvttps2dq xmm0, xmm0                                                   ; +0x33, 0x10067b453\ncvtdq2ps xmm0, xmm0                                                    ; +0x37, 0x10067b457\ndivss   xmm0, xmm1                                                     ; +0x3a, 0x10067b45a\nmovss   dword ptr [rdi+484h], xmm0                                     ; +0x3e, 0x10067b45e\nmovss   dword ptr [rdi+3E0h], xmm0                                     ; +0x46, 0x10067b466\nmov     dword ptr [rdi+44h], 0                                         ; +0x4e, 0x10067b46e\nmov     rax, [rdi]                                                     ; +0x55, 0x10067b475\nmovss   xmm0, cs:alpha                                                 ; +0x58, 0x10067b478\ncall    qword ptr [rax+5A8h]                                           ; +0x60, 0x10067b480\nmov     byte ptr [rbx+348h], 1                                         ; +0x66, 0x10067b486\nmov     byte ptr [rbx+360h], 1                                         ; +0x6d, 0x10067b48d\nadd     rsp, 8                                                         ; +0x74, 0x10067b494\npop     rbx                                                            ; +0x78, 0x10067b498\npop     rbp                                                            ; +0x79, 0x10067b499\nretn                                                                   ; +0x7a, 0x10067b49a", "xrefs": ["EditorUI::onCreateObject @ 0x1000111a0", "EditorUI::createObject @ 0x100011d12", "EditorUI::addObjectsToSmartTemplate @ 0x1000137a7", "EditorUI::createPrefab @ 0x1000149eb", "EditorUI::createPrefab @ 0x100014a34", "EditorUI::processSmartObjectsFromType @ 0x100015384", "EditorUI::processSmartObjectsFromType @ 0x100015608", "EditorUI::createNewKeyframeAnim @ 0x100016714", "EditorUI::createLoop @ 0x100016c59", "EditorUI::createLoop @ 0x100016e35", "EditorUI::createGradientFromSelection @ 0x100017705", "PlayLayer::addObject @ 0x10007f9fb", "PlayLayer::addObject @ 0x10007fee9", "GameObjectCopy::resetObject @ 0x1000b2f37", "EditorUI::scaleObjects @ 0x10061047e", "EditorUI::transformObjects @ 0x100610b42", "EditorUI::scaleYChanged @ 0x100613267", "sub_1006132E0 @ 0x100613316", "EditorUI::createOutlines @ 0x1006f18ce", "EditorUI::createOutlines @ 0x1006f1989", "EditorUI::createRockBases @ 0x1006f267e", "EditorUI::createRockBases @ 0x1006f27a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}