{"type": "func", "start": 4298060320, "end": 4298060416, "name": "GameObject::updateCustomScaleX", "pseudocode": "// \n// GameObject::updateCustomScaleX from 0x1002f3220 to 0x1002f3280 (96 bytes)\n// \n// 12 xrefs:\n// > EditorUI::createOutlines @ 0x10008160c\n// > EditorUI::createOutlines @ 0x1000816d0\n// > EditorUI::createRockBases @ 0x100082200\n// > EditorUI::createRockBases @ 0x100082314\n// > PlayLayer::addObject @ 0x1001418dc\n// > PlayLayer::addObject @ 0x100141f3c\n// > EditorUI::scaleObjects @ 0x10015ea54\n// > EditorUI::scaleObjects @ 0x10015ea8c\n// > sub_10015EB98 @ 0x10015ee70\n// > EditorUI::scaleXChanged @ 0x1001602d4\n// > sub_1003FC4A8 @ 0x1003fc534\n// > EditorUI::createObject @ 0x100477b68\n// \n// This function is hookable on this platform (idp: arm, 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 11:02:57 +0000\n// \n\n__int64 __fastcall GameObject::updateCustomScaleX(__int64 a1, float a2)\n{\n  float v3; // s0\n  __int64 result; // x0\n\n  v3 = (float)(int)roundf(a2 * 1000.0) / 1000.0;\n  *(float *)(a1 + 1152) = v3;\n  *(float *)(a1 + 988) = v3;\n  *(_DWORD *)(a1 + 64) = 0;\n  result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1440LL))(a1, 1.0);\n  *(_BYTE *)(a1 + 840) = 1;\n  *(_BYTE *)(a1 + 864) = 1;\n  return result;\n}", "assembly": "; \n; GameObject::updateCustomScaleX from 0x1002f3220 to 0x1002f3280 (96 bytes)\n; \n; 12 xrefs:\n; > EditorUI::createOutlines @ 0x10008160c\n; > EditorUI::createOutlines @ 0x1000816d0\n; > EditorUI::createRockBases @ 0x100082200\n; > EditorUI::createRockBases @ 0x100082314\n; > PlayLayer::addObject @ 0x1001418dc\n; > PlayLayer::addObject @ 0x100141f3c\n; > EditorUI::scaleObjects @ 0x10015ea54\n; > EditorUI::scaleObjects @ 0x10015ea8c\n; > sub_10015EB98 @ 0x10015ee70\n; > EditorUI::scaleXChanged @ 0x1001602d4\n; > sub_1003FC4A8 @ 0x1003fc534\n; > EditorUI::createObject @ 0x100477b68\n; \n; This function is hookable on this platform (idp: arm, 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 11:02:57 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002f3220\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002f3224\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002f3228\nMOV             X19, X0                                                ; +0xc, 0x1002f322c\nMOV             W8, #0x447A0000                                        ; +0x10, 0x1002f3230\nFMOV            S1, W8                                                 ; +0x14, 0x1002f3234\nFMUL            S0, S0, S1                                             ; +0x18, 0x1002f3238\nFRINTA          S0, S0                                                 ; +0x1c, 0x1002f323c\nFCVTZS          S0, S0                                                 ; +0x20, 0x1002f3240\nSCVTF           S0, S0                                                 ; +0x24, 0x1002f3244\nFDIV            S0, S0, S1                                             ; +0x28, 0x1002f3248\nSTR             S0, [X0,#0x480]                                        ; +0x2c, 0x1002f324c\nSTR             S0, [X0,#0x3DC]                                        ; +0x30, 0x1002f3250\nSTR             WZR, [X0,#0x40]                                        ; +0x34, 0x1002f3254\nLDR             X8, [X0]                                               ; +0x38, 0x1002f3258\nLDR             X8, [X8,#0x5A0]                                        ; +0x3c, 0x1002f325c\nFMOV            S0, #1.0                                               ; +0x40, 0x1002f3260\nBLR             X8                                                     ; +0x44, 0x1002f3264\nMOV             W8, #1                                                 ; +0x48, 0x1002f3268\nSTRB            W8, [X19,#0x348]                                       ; +0x4c, 0x1002f326c\nSTRB            W8, [X19,#0x360]                                       ; +0x50, 0x1002f3270\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1002f3274\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1002f3278\nRET                                                                    ; +0x5c, 0x1002f327c", "xrefs": ["EditorUI::createOutlines @ 0x10008160c", "EditorUI::createOutlines @ 0x1000816d0", "EditorUI::createRockBases @ 0x100082200", "EditorUI::createRockBases @ 0x100082314", "PlayLayer::addObject @ 0x1001418dc", "PlayLayer::addObject @ 0x100141f3c", "EditorUI::scaleObjects @ 0x10015ea54", "EditorUI::scaleObjects @ 0x10015ea8c", "sub_10015EB98 @ 0x10015ee70", "EditorUI::scaleXChanged @ 0x1001602d4", "sub_1003FC4A8 @ 0x1003fc534", "EditorUI::createObject @ 0x100477b68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}