{"type": "func", "start": 4296242624, "end": 4296242772, "name": "GJFollowCommandLayer::updateXModLabel", "pseudocode": "// \n// GJFollowCommandLayer::updateXModLabel from 0x1001375c0 to 0x100137654 (148 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x100137108\n// > GJFollowCommandLayer::sliderXModChanged @ 0x100137358\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::updateXModLabel(GJFollowCommandLayer *a1)\n{\n  float m_xMod; // s0\n  cocos2d::CCString *v3; // x0\n  char *CString; // x1\n  CCTextInputNode *m_xModInput; // 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_xMod = a1->m_xMod;\n  if ( m_xMod == -99999.0 )\n  {\n    CString = \"\";\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)sub_100268F4C(\"%0.2f\", m_xMod);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n  }\n  m_xModInput = a1->m_xModInput;\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(m_xModInput, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateXModLabel from 0x1001375c0 to 0x100137654 (148 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x100137108\n; > GJFollowCommandLayer::sliderXModChanged @ 0x100137358\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, 0x1001375c0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001375c4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001375c8\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001375cc\nMOV             X19, X0                                                ; +0x10, 0x1001375d0\nMOV             W8, #1                                                 ; +0x14, 0x1001375d4\nSTRB            W8, [X0,#0x2CC]                                        ; +0x18, 0x1001375d8\nLDR             S0, [X0,#0x3E8]                                        ; +0x1c, 0x1001375dc\nADRP            X8, #dword_100635544@PAGE                              ; +0x20, 0x1001375e0\nLDR             S1, [X8,#dword_100635544@PAGEOFF]                      ; +0x24, 0x1001375e4\nFCMP            S0, S1                                                 ; +0x28, 0x1001375e8\nB.EQ            loc_100137610                                          ; +0x2c, 0x1001375ec\nFCVT            D0, S0                                                 ; +0x30, 0x1001375f0\nSTR             D0, [SP,#0x30+var_30]                                  ; +0x34, 0x1001375f4\nADRL            X0, a02f; \"%0.2f\"                                      ; +0x38, 0x1001375f8\nBL              sub_100268F4C                                          ; +0x40, 0x100137600\nBL              cocos2d__CCString__getCString                          ; +0x44, 0x100137604\nMOV             X1, X0                                                 ; +0x48, 0x100137608\nB               loc_100137618                                          ; +0x4c, 0x10013760c\nADRL            X1, asc_100746688; \"\"                                  ; +0x50, 0x100137610\nLDR             X20, [X19,#0x3C8]                                      ; +0x58, 0x100137618\nADD             X0, SP, #0x30+__p; int                                 ; +0x5c, 0x10013761c\nBL              sub_100009900                                          ; +0x60, 0x100137620\nADD             X1, SP, #0x30+__p                                      ; +0x64, 0x100137624\nMOV             X0, X20                                                ; +0x68, 0x100137628\nBL              CCTextInputNode__setString                             ; +0x6c, 0x10013762c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x70, 0x100137630\nTBZ             W8, #0x1F, loc_100137640                               ; +0x74, 0x100137634\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x78, 0x100137638\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x10013763c\nSTRB            WZR, [X19,#0x2CC]                                      ; +0x80, 0x100137640\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x84, 0x100137644\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x88, 0x100137648\nADD             SP, SP, #0x40 ; '@'                                    ; +0x8c, 0x10013764c\nRET                                                                    ; +0x90, 0x100137650", "xrefs": ["GJFollowCommandLayer::init @ 0x100137108", "GJFollowCommandLayer::sliderXModChanged @ 0x100137358"], "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"}