{"type": "func", "start": 5098144, "end": 5098204, "name": "GJFollowCommandLayer::updateXMod", "pseudocode": "// \n// GJFollowCommandLayer::updateXMod from 0x4dcaa0 to 0x4dcadc (60 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::sliderXModChanged @ 0x4dcb06\n// > GJFollowCommandLayer::textChanged @ 0x4dcca2\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::updateXMod(GJFollowCommandLayer *a1)\n{\n  EffectGameObject *m_gameObject; // r4\n  int v3; // r0\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_followXMod = a1->m_xMod;\n  }\n  else\n  {\n    while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) )\n    {\n      v3 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject);\n      m_gameObject = (EffectGameObject *)((char *)m_gameObject + 1);\n      *(float *)(v3 + 1380) = a1->m_xMod;\n    }\n  }\n}", "assembly": "; \n; GJFollowCommandLayer::updateXMod from 0x4dcaa0 to 0x4dcadc (60 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::sliderXModChanged @ 0x4dcb06\n; > GJFollowCommandLayer::textChanged @ 0x4dcca2\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4dcaa0\nMOV             R5, R0                                                 ; +0x2, 0x4dcaa2\nLDR.W           R4, [R0,#0x1FC]                                        ; +0x4, 0x4dcaa4\nCBNZ            R4, loc_4DCAD0                                         ; +0x8, 0x4dcaa8\nLDR.W           R0, [R5,#0x200]; this                                  ; +0xa, 0x4dcaaa\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe, 0x4dcaae\nCMP             R4, R0                                                 ; +0x12, 0x4dcab2\nBCS             locret_4DCACE                                          ; +0x14, 0x4dcab4\nMOV             R1, R4; unsigned int                                   ; +0x16, 0x4dcab6\nLDR.W           R0, [R5,#0x200]; this                                  ; +0x18, 0x4dcab8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c, 0x4dcabc\nLDR.W           R3, [R5,#0x2C4]                                        ; +0x20, 0x4dcac0\nADDS            R4, #1                                                 ; +0x24, 0x4dcac4\nADDW            R0, R0, #0x564                                         ; +0x26, 0x4dcac6\nSTR             R3, [R0]                                               ; +0x2a, 0x4dcaca\nB               loc_4DCAAA                                             ; +0x2c, 0x4dcacc\nPOP             {R3-R5,PC}                                             ; +0x2e, 0x4dcace\nLDR.W           R3, [R0,#0x2C4]                                        ; +0x30, 0x4dcad0\nADDW            R4, R4, #0x564                                         ; +0x34, 0x4dcad4\nSTR             R3, [R4]                                               ; +0x38, 0x4dcad8\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x4dcada", "xrefs": ["GJFollowCommandLayer::sliderXModChanged @ 0x4dcb06", "GJFollowCommandLayer::textChanged @ 0x4dcca2"], "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"}