{"type": "func", "start": 4296242800, "end": 4296242948, "name": "GJFollowCommandLayer::updateYModLabel", "pseudocode": "// \n// GJFollowCommandLayer::updateYModLabel from 0x100137670 to 0x100137704 (148 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x100137110\n// > GJFollowCommandLayer::sliderYModChanged @ 0x100137398\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 GJFollowCommandLayer::updateYModLabel(GJFollowCommandLayer *a1)\n{\n  float m_yMod; // s0\n  cocos2d::CCString *v3; // x0\n  char *CString; // x1\n  CCTextInputNode *m_yModInput; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  a1->m_disableTextDelegate = 1;\n  m_yMod = a1->m_yMod;\n  if ( m_yMod == -99999.0 )\n  {\n    CString = \"\";\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)sub_100268F4C(\"%0.2f\", m_yMod);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n  }\n  m_yModInput = a1->m_yModInput;\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(m_yModInput, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateYModLabel from 0x100137670 to 0x100137704 (148 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x100137110\n; > GJFollowCommandLayer::sliderYModChanged @ 0x100137398\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x100137670\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100137674\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100137678\nADD             X29, SP, #0x30                                         ; +0xc, 0x10013767c\nMOV             X19, X0                                                ; +0x10, 0x100137680\nMOV             W8, #1                                                 ; +0x14, 0x100137684\nSTRB            W8, [X0,#0x2CC]                                        ; +0x18, 0x100137688\nLDR             S0, [X0,#0x3EC]                                        ; +0x1c, 0x10013768c\nADRP            X8, #dword_100635544@PAGE                              ; +0x20, 0x100137690\nLDR             S1, [X8,#dword_100635544@PAGEOFF]                      ; +0x24, 0x100137694\nFCMP            S0, S1                                                 ; +0x28, 0x100137698\nB.EQ            loc_1001376C0                                          ; +0x2c, 0x10013769c\nFCVT            D0, S0                                                 ; +0x30, 0x1001376a0\nSTR             D0, [SP,#0x30+var_30]                                  ; +0x34, 0x1001376a4\nADRL            X0, a02f; \"%0.2f\"                                      ; +0x38, 0x1001376a8\nBL              sub_100268F4C                                          ; +0x40, 0x1001376b0\nBL              cocos2d__CCString__getCString                          ; +0x44, 0x1001376b4\nMOV             X1, X0                                                 ; +0x48, 0x1001376b8\nB               loc_1001376C8                                          ; +0x4c, 0x1001376bc\nADRL            X1, asc_100746688; \"\"                                  ; +0x50, 0x1001376c0\nLDR             X20, [X19,#0x3D0]                                      ; +0x58, 0x1001376c8\nADD             X0, SP, #0x30+__p; int                                 ; +0x5c, 0x1001376cc\nBL              sub_100009900                                          ; +0x60, 0x1001376d0\nADD             X1, SP, #0x30+__p                                      ; +0x64, 0x1001376d4\nMOV             X0, X20                                                ; +0x68, 0x1001376d8\nBL              CCTextInputNode__setString                             ; +0x6c, 0x1001376dc\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x70, 0x1001376e0\nTBZ             W8, #0x1F, loc_1001376F0                               ; +0x74, 0x1001376e4\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x78, 0x1001376e8\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x1001376ec\nSTRB            WZR, [X19,#0x2CC]                                      ; +0x80, 0x1001376f0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x84, 0x1001376f4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x88, 0x1001376f8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x8c, 0x1001376fc\nRET                                                                    ; +0x90, 0x100137700", "xrefs": ["GJFollowCommandLayer::init @ 0x100137110", "GJFollowCommandLayer::sliderYModChanged @ 0x100137398"], "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"}