{"type": "func", "start": 5094004, "end": 5094134, "name": "GJFollowCommandLayer::updateYModLabel", "pseudocode": "// \n// GJFollowCommandLayer::updateYModLabel from 0x4dba74 to 0x4dbaf6 (130 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x4dc748\n// > GJFollowCommandLayer::sliderYModChanged @ 0x4dcb66\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 GJFollowCommandLayer::updateYModLabel(GJFollowCommandLayer *a1)\n{\n  const char *v1; // r1\n  float m_yMod; // s15\n  cocos2d::CCString *v4; // r0\n  char *CString; // r1\n  CCTextInputNode *m_yModInput; // r7\n  char *v7; // r2\n  char v8[4]; // [sp+8h] [bp-Ch] BYREF\n\n  m_yMod = a1->m_yMod;\n  a1->m_disableTextDelegate = 1;\n  if ( m_yMod == -99999.0 )\n  {\n    CString = (char *)&unk_939830;\n  }\n  else\n  {\n    v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%0.2f\", v1, m_yMod);\n    CString = (char *)cocos2d::CCString::getCString(v4);\n  }\n  m_yModInput = a1->m_yModInput;\n  sub_776584((int)v8, CString);\n  CCTextInputNode::setString((int)m_yModInput, v8, v7);\n  sub_774008(v8);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateYModLabel from 0x4dba74 to 0x4dbaf6 (130 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x4dc748\n; > GJFollowCommandLayer::sliderYModChanged @ 0x4dcb66\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\nVLDR            S15, [R0,#0x2C8]                                       ; +0x0, 0x4dba74\nLDR             R3, =(__stack_chk_guard_ptr - 0x4DBA80)                ; +0x4, 0x4dba78\nPUSH            {R4-R7,LR}                                             ; +0x6, 0x4dba7a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x8, 0x4dba7c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xa, 0x4dba7e\nVLDR            S14, =-99999.0                                         ; +0xc, 0x4dba80\nSUB             SP, SP, #0x14                                          ; +0x10, 0x4dba84\nLDR             R2, [R3]                                               ; +0x12, 0x4dba86\nMOV             R6, R0                                                 ; +0x14, 0x4dba88\nMOV             R4, R3                                                 ; +0x16, 0x4dba8a\nVCMP.F32        S15, S14                                               ; +0x18, 0x4dba8c\nSTR             R2, [SP,#0x14+var_8]                                   ; +0x1c, 0x4dba90\nMOVS            R2, #1                                                 ; +0x1e, 0x4dba92\nSTRB.W          R2, [R0,#0x220]                                        ; +0x20, 0x4dba94\nVMRS            APSR_nzcv, FPSCR                                       ; +0x24, 0x4dba98\nBEQ             loc_4DBAB6                                             ; +0x28, 0x4dba9c\nVCVT.F64.F32    D7, S15                                                ; +0x2a, 0x4dba9e\nLDR             R0, =(a02f - 0x4DBAA8); \"%0.2f\"                        ; +0x2e, 0x4dbaa2\nADD             R0, PC; \"%0.2f\"                                        ; +0x30, 0x4dbaa4\nVMOV            R2, R3, D7                                             ; +0x32, 0x4dbaa6\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x36, 0x4dbaaa\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x3a, 0x4dbaae\nMOV             R1, R0                                                 ; +0x3e, 0x4dbab2\nB               loc_4DBABA                                             ; +0x40, 0x4dbab4\nLDR             R1, =(unk_939830 - 0x4DBABC)                           ; +0x42, 0x4dbab6\nADD             R1, PC; unk_939830 ; char *                            ; +0x44, 0x4dbab8\nLDR.W           R7, [R6,#0x2B8]                                        ; +0x46, 0x4dbaba\nADD             R5, SP, #0x14+var_C                                    ; +0x4a, 0x4dbabe\nADD             R2, SP, #0x14+var_10                                   ; +0x4c, 0x4dbac0\nMOV             R0, R5; int                                            ; +0x4e, 0x4dbac2\nBL              sub_776584                                             ; +0x50, 0x4dbac4\nMOV             R0, R7                                                 ; +0x54, 0x4dbac8\nMOV             R1, R5                                                 ; +0x56, 0x4dbaca\nBL              _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x58, 0x4dbacc\nMOV             R0, R5                                                 ; +0x5c, 0x4dbad0\nBL              sub_774008                                             ; +0x5e, 0x4dbad2\nMOVS            R3, #0                                                 ; +0x62, 0x4dbad6\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x64, 0x4dbad8\nSTRB.W          R3, [R6,#0x220]                                        ; +0x66, 0x4dbada\nLDR             R3, [R4]                                               ; +0x6a, 0x4dbade\nCMP             R2, R3                                                 ; +0x6c, 0x4dbae0\nBEQ             loc_4DBAF2                                             ; +0x6e, 0x4dbae2\nBLX             __stack_chk_fail                                       ; +0x70, 0x4dbae4\nMOV             R0, R5                                                 ; +0x74, 0x4dbae8\nBL              sub_774008                                             ; +0x76, 0x4dbaea\nBL              __cxa_end_cleanup                                      ; +0x7a, 0x4dbaee\nADD             SP, SP, #0x14                                          ; +0x7e, 0x4dbaf2\nPOP             {R4-R7,PC}                                             ; +0x80, 0x4dbaf4", "xrefs": ["GJFollowCommandLayer::init @ 0x4dc748", "GJFollowCommandLayer::sliderYModChanged @ 0x4dcb66"], "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"}