{"type": "func", "start": 4296409272, "end": 4296409420, "name": "GJPFollowCommandLayer::updateXModLabel", "pseudocode": "// \n// GJPFollowCommandLayer::updateXModLabel from 0x1001600b8 to 0x10016014c (148 bytes)\n// \n// 2 xrefs:\n// > GJPFollowCommandLayer::init @ 0x10015fcbc\n// > GJPFollowCommandLayer::sliderXModChanged @ 0x10015ff60\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 GJPFollowCommandLayer::updateXModLabel(GJPFollowCommandLayer *a1)\n{\n  float m_speed; // s0\n  cocos2d::CCString *v3; // x0\n  char *CString; // x1\n  CCTextInputNode *m_speedInput; // 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_speed = a1->m_speed;\n  if ( m_speed == -99999.0 )\n  {\n    CString = \"\";\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)sub_100268F4C(\"%0.3f\", m_speed);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n  }\n  m_speedInput = a1->m_speedInput;\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(m_speedInput, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJPFollowCommandLayer::updateXModLabel from 0x1001600b8 to 0x10016014c (148 bytes)\n; \n; 2 xrefs:\n; > GJPFollowCommandLayer::init @ 0x10015fcbc\n; > GJPFollowCommandLayer::sliderXModChanged @ 0x10015ff60\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, 0x1001600b8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001600bc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001600c0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001600c4\nMOV             X19, X0                                                ; +0x10, 0x1001600c8\nMOV             W8, #1                                                 ; +0x14, 0x1001600cc\nSTRB            W8, [X0,#0x2CC]                                        ; +0x18, 0x1001600d0\nLDR             S0, [X0,#0x3FC]                                        ; +0x1c, 0x1001600d4\nADRP            X8, #dword_100635544@PAGE                              ; +0x20, 0x1001600d8\nLDR             S1, [X8,#dword_100635544@PAGEOFF]                      ; +0x24, 0x1001600dc\nFCMP            S0, S1                                                 ; +0x28, 0x1001600e0\nB.EQ            loc_100160108                                          ; +0x2c, 0x1001600e4\nFCVT            D0, S0                                                 ; +0x30, 0x1001600e8\nSTR             D0, [SP,#0x30+var_30]                                  ; +0x34, 0x1001600ec\nADRL            X0, a03f_0; \"%0.3f\"                                    ; +0x38, 0x1001600f0\nBL              sub_100268F4C                                          ; +0x40, 0x1001600f8\nBL              cocos2d__CCString__getCString                          ; +0x44, 0x1001600fc\nMOV             X1, X0                                                 ; +0x48, 0x100160100\nB               loc_100160110                                          ; +0x4c, 0x100160104\nADRL            X1, asc_100746688; \"\"                                  ; +0x50, 0x100160108\nLDR             X20, [X19,#0x3C8]                                      ; +0x58, 0x100160110\nADD             X0, SP, #0x30+__p; int                                 ; +0x5c, 0x100160114\nBL              sub_100009900                                          ; +0x60, 0x100160118\nADD             X1, SP, #0x30+__p                                      ; +0x64, 0x10016011c\nMOV             X0, X20                                                ; +0x68, 0x100160120\nBL              CCTextInputNode__setString                             ; +0x6c, 0x100160124\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x70, 0x100160128\nTBZ             W8, #0x1F, loc_100160138                               ; +0x74, 0x10016012c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x78, 0x100160130\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x100160134\nSTRB            WZR, [X19,#0x2CC]                                      ; +0x80, 0x100160138\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x84, 0x10016013c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x88, 0x100160140\nADD             SP, SP, #0x40 ; '@'                                    ; +0x8c, 0x100160144\nRET                                                                    ; +0x90, 0x100160148", "xrefs": ["GJPFollowCommandLayer::init @ 0x10015fcbc", "GJPFollowCommandLayer::sliderXModChanged @ 0x10015ff60"], "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"}