{"type": "func", "start": 4297416748, "end": 4297416844, "name": "GameObject::updateCustomScaleX", "pseudocode": "// \n// GameObject::updateCustomScaleX from 0x10025602c to 0x10025608c (96 bytes)\n// \n// 12 xrefs:\n// > EditorUI::createOutlines @ 0x100078e60\n// > EditorUI::createOutlines @ 0x100078f24\n// > EditorUI::createRockBases @ 0x100079a54\n// > EditorUI::createRockBases @ 0x100079b6c\n// > PlayLayer::addObject @ 0x100118bbc\n// > PlayLayer::addObject @ 0x100119244\n// > GameObjectCopy::resetObject @ 0x10035c2f0\n// > EditorUI::createObject @ 0x1003ec748\n// > EditorUI::scaleXChanged @ 0x1003ef858\n// > EditorUI::scaleObjects @ 0x1003efb40\n// > EditorUI::scaleObjects @ 0x1003efb78\n// > EditorUI::transformObjects @ 0x1003f0484\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::updateCustomScaleX(GameObject *a1, float a2)\n{\n  float v3; // s0\n\n  v3 = (float)(int)roundf(a2 * 1000.0) / 1000.0;\n  a1->m_scaleX = v3;\n  a1->m_customScaleX = v3;\n  a1->m_fScaleX = 0.0;\n  ((void (__fastcall *)(GameObject *, float))a1->setRScaleX)(a1, 1.0);\n  a1->m_isDirty = 1;\n  a1->m_isObjectRectDirty = 1;\n}", "assembly": "; \n; GameObject::updateCustomScaleX from 0x10025602c to 0x10025608c (96 bytes)\n; \n; 12 xrefs:\n; > EditorUI::createOutlines @ 0x100078e60\n; > EditorUI::createOutlines @ 0x100078f24\n; > EditorUI::createRockBases @ 0x100079a54\n; > EditorUI::createRockBases @ 0x100079b6c\n; > PlayLayer::addObject @ 0x100118bbc\n; > PlayLayer::addObject @ 0x100119244\n; > GameObjectCopy::resetObject @ 0x10035c2f0\n; > EditorUI::createObject @ 0x1003ec748\n; > EditorUI::scaleXChanged @ 0x1003ef858\n; > EditorUI::scaleObjects @ 0x1003efb40\n; > EditorUI::scaleObjects @ 0x1003efb78\n; > EditorUI::transformObjects @ 0x1003f0484\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, 0x10025602c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100256030\nADD             X29, SP, #0x10                                         ; +0x8, 0x100256034\nMOV             X19, X0                                                ; +0xc, 0x100256038\nMOV             W8, #0x447A0000                                        ; +0x10, 0x10025603c\nFMOV            S1, W8                                                 ; +0x14, 0x100256040\nFMUL            S0, S0, S1                                             ; +0x18, 0x100256044\nFRINTA          S0, S0                                                 ; +0x1c, 0x100256048\nFCVTZS          S0, S0                                                 ; +0x20, 0x10025604c\nSCVTF           S0, S0                                                 ; +0x24, 0x100256050\nFDIV            S0, S0, S1                                             ; +0x28, 0x100256054\nSTR             S0, [X0,#0x480]                                        ; +0x2c, 0x100256058\nSTR             S0, [X0,#0x3DC]                                        ; +0x30, 0x10025605c\nSTR             WZR, [X0,#0x40]                                        ; +0x34, 0x100256060\nLDR             X8, [X0]                                               ; +0x38, 0x100256064\nLDR             X8, [X8,#0x590]                                        ; +0x3c, 0x100256068\nFMOV            S0, #1.0                                               ; +0x40, 0x10025606c\nBLR             X8                                                     ; +0x44, 0x100256070\nMOV             W8, #1                                                 ; +0x48, 0x100256074\nSTRB            W8, [X19,#0x348]                                       ; +0x4c, 0x100256078\nSTRB            W8, [X19,#0x360]                                       ; +0x50, 0x10025607c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100256080\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100256084\nRET                                                                    ; +0x5c, 0x100256088", "xrefs": ["EditorUI::createOutlines @ 0x100078e60", "EditorUI::createOutlines @ 0x100078f24", "EditorUI::createRockBases @ 0x100079a54", "EditorUI::createRockBases @ 0x100079b6c", "PlayLayer::addObject @ 0x100118bbc", "PlayLayer::addObject @ 0x100119244", "GameObjectCopy::resetObject @ 0x10035c2f0", "EditorUI::createObject @ 0x1003ec748", "EditorUI::scaleXChanged @ 0x1003ef858", "EditorUI::scaleObjects @ 0x1003efb40", "EditorUI::scaleObjects @ 0x1003efb78", "EditorUI::transformObjects @ 0x1003f0484"], "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"}