{"type": "func", "start": 4296241748, "end": 4296241936, "name": "GJFollowCommandLayer::updateDurLabel", "pseudocode": "// \n// GJFollowCommandLayer::updateDurLabel from 0x100137254 to 0x100137310 (188 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x100136880\n// > GJFollowCommandLayer::sliderChanged @ 0x100137250\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::updateDurLabel(GJFollowCommandLayer *a1, bool a2)\n{\n  float m_moveTime; // s0\n  cocos2d::CCString *v4; // x0\n  char *CString; // x1\n  CCTextInputNode *m_moveTimeInput; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v8; // [xsp+1Fh] [xbp-11h]\n\n  a1->m_disableTextDelegate = 1;\n  m_moveTime = a1->m_moveTime;\n  if ( m_moveTime == -99999.0 )\n  {\n    CString = \"Mixed\";\n  }\n  else\n  {\n    if ( a2 || m_moveTime != (float)(int)m_moveTime )\n      v4 = (cocos2d::CCString *)sub_100268F4C(\"%.02f\");\n    else\n      v4 = (cocos2d::CCString *)sub_100268F4C(\"%i\");\n    CString = (char *)cocos2d::CCString::getCString(v4);\n  }\n  m_moveTimeInput = a1->m_moveTimeInput;\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(m_moveTimeInput, __p);\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateDurLabel from 0x100137254 to 0x100137310 (188 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x100136880\n; > GJFollowCommandLayer::sliderChanged @ 0x100137250\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, 0x100137254\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100137258\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10013725c\nADD             X29, SP, #0x30                                         ; +0xc, 0x100137260\nMOV             X19, X0                                                ; +0x10, 0x100137264\nMOV             W8, #1                                                 ; +0x14, 0x100137268\nSTRB            W8, [X0,#0x2CC]                                        ; +0x18, 0x10013726c\nLDR             S0, [X0,#0x3C0]                                        ; +0x1c, 0x100137270\nADRP            X8, #dword_100635544@PAGE                              ; +0x20, 0x100137274\nLDR             S1, [X8,#dword_100635544@PAGEOFF]                      ; +0x24, 0x100137278\nFCMP            S0, S1                                                 ; +0x28, 0x10013727c\nB.EQ            loc_1001372CC                                          ; +0x2c, 0x100137280\nTBNZ            W1, #0, loc_1001372AC                                  ; +0x30, 0x100137284\nFCVTZS          S1, S0                                                 ; +0x34, 0x100137288\nSCVTF           S1, S1                                                 ; +0x38, 0x10013728c\nFCMP            S0, S1                                                 ; +0x3c, 0x100137290\nB.NE            loc_1001372AC                                          ; +0x40, 0x100137294\nFCVTZS          W8, S0                                                 ; +0x44, 0x100137298\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x48, 0x10013729c\nADRL            X0, aI; \"%i\"                                           ; +0x4c, 0x1001372a0\nB               loc_1001372BC                                          ; +0x54, 0x1001372a8\nFCVT            D0, S0                                                 ; +0x58, 0x1001372ac\nSTR             D0, [SP,#0x30+var_30]                                  ; +0x5c, 0x1001372b0\nADRL            X0, a02f_0; \"%.02f\"                                    ; +0x60, 0x1001372b4\nBL              sub_100268F4C                                          ; +0x68, 0x1001372bc\nBL              cocos2d__CCString__getCString                          ; +0x6c, 0x1001372c0\nMOV             X1, X0                                                 ; +0x70, 0x1001372c4\nB               loc_1001372D4                                          ; +0x74, 0x1001372c8\nADRL            X1, aMixed; \"Mixed\"                                    ; +0x78, 0x1001372cc\nLDR             X20, [X19,#0x3B0]                                      ; +0x80, 0x1001372d4\nADD             X0, SP, #0x30+__p; int                                 ; +0x84, 0x1001372d8\nBL              sub_100009900                                          ; +0x88, 0x1001372dc\nADD             X1, SP, #0x30+__p                                      ; +0x8c, 0x1001372e0\nMOV             X0, X20                                                ; +0x90, 0x1001372e4\nBL              CCTextInputNode__setString                             ; +0x94, 0x1001372e8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x98, 0x1001372ec\nTBZ             W8, #0x1F, loc_1001372FC                               ; +0x9c, 0x1001372f0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0xa0, 0x1001372f4\nBL              __ZdlPv; operator delete(void *)                       ; +0xa4, 0x1001372f8\nSTRB            WZR, [X19,#0x2CC]                                      ; +0xa8, 0x1001372fc\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xac, 0x100137300\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xb0, 0x100137304\nADD             SP, SP, #0x40 ; '@'                                    ; +0xb4, 0x100137308\nRET                                                                    ; +0xb8, 0x10013730c", "xrefs": ["GJFollowCommandLayer::init @ 0x100136880", "GJFollowCommandLayer::sliderChanged @ 0x100137250"], "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"}