{"type": "func", "start": 5098356, "end": 5098416, "name": "GJFollowCommandLayer::updateDuration", "pseudocode": "// \n// GJFollowCommandLayer::updateDuration from 0x4dcb74 to 0x4dcbb0 (60 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::sliderChanged @ 0x4dcbcc\n// > GJFollowCommandLayer::textChanged @ 0x4dcd32\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::updateDuration(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_duration = a1->m_moveTime;\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 + 1264) = a1->m_moveTime;\n    }\n  }\n}", "assembly": "; \n; GJFollowCommandLayer::updateDuration from 0x4dcb74 to 0x4dcbb0 (60 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::sliderChanged @ 0x4dcbcc\n; > GJFollowCommandLayer::textChanged @ 0x4dcd32\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, 0x4dcb74\nMOV             R5, R0                                                 ; +0x2, 0x4dcb76\nLDR.W           R4, [R0,#0x1FC]                                        ; +0x4, 0x4dcb78\nCBNZ            R4, loc_4DCBA4                                         ; +0x8, 0x4dcb7c\nLDR.W           R0, [R5,#0x200]; this                                  ; +0xa, 0x4dcb7e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe, 0x4dcb82\nCMP             R4, R0                                                 ; +0x12, 0x4dcb86\nBCS             locret_4DCBA2                                          ; +0x14, 0x4dcb88\nMOV             R1, R4; unsigned int                                   ; +0x16, 0x4dcb8a\nLDR.W           R0, [R5,#0x200]; this                                  ; +0x18, 0x4dcb8c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c, 0x4dcb90\nLDR.W           R3, [R5,#0x2B0]                                        ; +0x20, 0x4dcb94\nADDS            R4, #1                                                 ; +0x24, 0x4dcb98\nADD.W           R0, R0, #0x4F0                                         ; +0x26, 0x4dcb9a\nSTR             R3, [R0]                                               ; +0x2a, 0x4dcb9e\nB               loc_4DCB7E                                             ; +0x2c, 0x4dcba0\nPOP             {R3-R5,PC}                                             ; +0x2e, 0x4dcba2\nLDR.W           R3, [R0,#0x2B0]                                        ; +0x30, 0x4dcba4\nADD.W           R4, R4, #0x4F0                                         ; +0x34, 0x4dcba8\nSTR             R3, [R4]                                               ; +0x38, 0x4dcbac\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x4dcbae", "xrefs": ["GJFollowCommandLayer::sliderChanged @ 0x4dcbcc", "GJFollowCommandLayer::textChanged @ 0x4dcd32"], "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"}