{"type": "func", "start": 4295273828, "end": 4295273940, "name": "GJUINode::updateButtonScale", "pseudocode": "// \n// GJUINode::updateButtonScale from 0x10004ad64 to 0x10004add4 (112 bytes)\n// \n// 3 xrefs:\n// > GJUINode::loadFromConfig @ 0x100049954\n// > GJUINode::init @ 0x10004ab5c\n// > UIOptionsLayer::valueDidChange @ 0x1002e434c\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 GJUINode::updateButtonScale(GJUINode *a1, float a2)\n{\n  float v3; // s8\n  cocos2d::CCSprite *m_secondSprite; // x0\n\n  if ( a2 <= 0.1 )\n    v3 = 0.1;\n  else\n    v3 = a2;\n  ((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_firstSprite->setScale)(a1->m_firstSprite, v3);\n  m_secondSprite = a1->m_secondSprite;\n  if ( m_secondSprite )\n    ((void (__fastcall *)(cocos2d::CCSprite *, float))m_secondSprite->setScale)(m_secondSprite, v3);\n  GJUINode::updateButtonPositions(a1);\n}", "assembly": "; \n; GJUINode::updateButtonScale from 0x10004ad64 to 0x10004add4 (112 bytes)\n; \n; 3 xrefs:\n; > GJUINode::loadFromConfig @ 0x100049954\n; > GJUINode::init @ 0x10004ab5c\n; > UIOptionsLayer::valueDidChange @ 0x1002e434c\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             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10004ad64\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10004ad68\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10004ad6c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10004ad70\nMOV             X19, X0                                                ; +0x10, 0x10004ad74\nFCVT            D1, S0                                                 ; +0x14, 0x10004ad78\nADRP            X8, #qword_100635B38@PAGE                              ; +0x18, 0x10004ad7c\nLDR             D2, [X8,#qword_100635B38@PAGEOFF]                      ; +0x1c, 0x10004ad80\nFCMP            D1, D2                                                 ; +0x20, 0x10004ad84\nADRP            X8, #dword_100635370@PAGE                              ; +0x24, 0x10004ad88\nLDR             S1, [X8,#dword_100635370@PAGEOFF]                      ; +0x28, 0x10004ad8c\nFCSEL           S8, S0, S1, GT                                         ; +0x2c, 0x10004ad90\nLDR             X0, [X0,#0x140]                                        ; +0x30, 0x10004ad94\nLDR             X8, [X0]                                               ; +0x34, 0x10004ad98\nLDR             X8, [X8,#0xA0]                                         ; +0x38, 0x10004ad9c\nFMOV            S0, S8                                                 ; +0x3c, 0x10004ada0\nBLR             X8                                                     ; +0x40, 0x10004ada4\nLDR             X0, [X19,#0x148]                                       ; +0x44, 0x10004ada8\nCBZ             X0, loc_10004ADC0                                      ; +0x48, 0x10004adac\nLDR             X8, [X0]                                               ; +0x4c, 0x10004adb0\nLDR             X8, [X8,#0xA0]                                         ; +0x50, 0x10004adb4\nFMOV            S0, S8                                                 ; +0x54, 0x10004adb8\nBLR             X8                                                     ; +0x58, 0x10004adbc\nMOV             X0, X19                                                ; +0x5c, 0x10004adc0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x10004adc4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x10004adc8\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x68, 0x10004adcc\nB               GJUINode__updateButtonPositions                        ; +0x6c, 0x10004add0", "xrefs": ["GJUINode::loadFromConfig @ 0x100049954", "GJUINode::init @ 0x10004ab5c", "UIOptionsLayer::valueDidChange @ 0x1002e434c"], "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"}