{"type": "func", "start": 4297416844, "end": 4297416940, "name": "GameObject::updateCustomScaleY", "pseudocode": "// \n// GameObject::updateCustomScaleY from 0x10025608c to 0x1002560ec (96 bytes)\n// \n// 11 xrefs:\n// > EditorUI::createOutlines @ 0x100078e6c\n// > EditorUI::createOutlines @ 0x100078f30\n// > EditorUI::createRockBases @ 0x100079a60\n// > EditorUI::createRockBases @ 0x100079b78\n// > PlayLayer::addObject @ 0x100118bc8\n// > PlayLayer::addObject @ 0x100119250\n// > GameObjectCopy::resetObject @ 0x10035c2fc\n// > EditorUI::createObject @ 0x1003ec754\n// > EditorUI::scaleObjects @ 0x1003efb84\n// > EditorUI::scaleYChanged @ 0x1003efc48\n// > EditorUI::transformObjects @ 0x1003f0490\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\nvoid __fastcall GameObject::updateCustomScaleY(GameObject *a1, float a2)\n{\n  float v3; // s0\n\n  v3 = (float)(int)roundf(a2 * 1000.0) / 1000.0;\n  a1->m_scaleY = v3;\n  a1->m_customScaleY = v3;\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 0x10025608c to 0x1002560ec (96 bytes)\n; \n; 11 xrefs:\n; > EditorUI::createOutlines @ 0x100078e6c\n; > EditorUI::createOutlines @ 0x100078f30\n; > EditorUI::createRockBases @ 0x100079a60\n; > EditorUI::createRockBases @ 0x100079b78\n; > PlayLayer::addObject @ 0x100118bc8\n; > PlayLayer::addObject @ 0x100119250\n; > GameObjectCopy::resetObject @ 0x10035c2fc\n; > EditorUI::createObject @ 0x1003ec754\n; > EditorUI::scaleObjects @ 0x1003efb84\n; > EditorUI::scaleYChanged @ 0x1003efc48\n; > EditorUI::transformObjects @ 0x1003f0490\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10025608c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100256090\nADD             X29, SP, #0x10                                         ; +0x8, 0x100256094\nMOV             X19, X0                                                ; +0xc, 0x100256098\nMOV             W8, #0x447A0000                                        ; +0x10, 0x10025609c\nFMOV            S1, W8                                                 ; +0x14, 0x1002560a0\nFMUL            S0, S0, S1                                             ; +0x18, 0x1002560a4\nFRINTA          S0, S0                                                 ; +0x1c, 0x1002560a8\nFCVTZS          S0, S0                                                 ; +0x20, 0x1002560ac\nSCVTF           S0, S0                                                 ; +0x24, 0x1002560b0\nFDIV            S0, S0, S1                                             ; +0x28, 0x1002560b4\nSTR             S0, [X0,#0x484]                                        ; +0x2c, 0x1002560b8\nSTR             S0, [X0,#0x3E0]                                        ; +0x30, 0x1002560bc\nSTR             WZR, [X0,#0x44]                                        ; +0x34, 0x1002560c0\nLDR             X8, [X0]                                               ; +0x38, 0x1002560c4\nLDR             X8, [X8,#0x598]                                        ; +0x3c, 0x1002560c8\nFMOV            S0, #1.0                                               ; +0x40, 0x1002560cc\nBLR             X8                                                     ; +0x44, 0x1002560d0\nMOV             W8, #1                                                 ; +0x48, 0x1002560d4\nSTRB            W8, [X19,#0x348]                                       ; +0x4c, 0x1002560d8\nSTRB            W8, [X19,#0x360]                                       ; +0x50, 0x1002560dc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1002560e0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1002560e4\nRET                                                                    ; +0x5c, 0x1002560e8", "xrefs": ["EditorUI::createOutlines @ 0x100078e6c", "EditorUI::createOutlines @ 0x100078f30", "EditorUI::createRockBases @ 0x100079a60", "EditorUI::createRockBases @ 0x100079b78", "PlayLayer::addObject @ 0x100118bc8", "PlayLayer::addObject @ 0x100119250", "GameObjectCopy::resetObject @ 0x10035c2fc", "EditorUI::createObject @ 0x1003ec754", "EditorUI::scaleObjects @ 0x1003efb84", "EditorUI::scaleYChanged @ 0x1003efc48", "EditorUI::transformObjects @ 0x1003f0490"], "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"}