{"type": "func", "start": 9576376, "end": 9576480, "name": "GJFollowCommandLayer::updateDuration", "pseudocode": "// \n// GJFollowCommandLayer::updateDuration from 0x921fb8 to 0x922020 (104 bytes)\n// \n// 3 xrefs:\n// > GJFollowCommandLayer::sliderChanged @ 0x922048\n// > GJFollowCommandLayer::textChanged @ 0x922134\n// > <???> @ 0xb74e0\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; // x1\n  unsigned int v3; // w20\n  bool v4; // cf\n  unsigned int v5; // w1\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    v3 = 0;\n    while ( 1 )\n    {\n      v4 = v3 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects);\n      v5 = v3++;\n      if ( v4 )\n        break;\n      *(float *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v5) + 1436) = a1->m_moveTime;\n    }\n  }\n}", "assembly": "; \n; GJFollowCommandLayer::updateDuration from 0x921fb8 to 0x922020 (104 bytes)\n; \n; 3 xrefs:\n; > GJFollowCommandLayer::sliderChanged @ 0x922048\n; > GJFollowCommandLayer::textChanged @ 0x922134\n; > <???> @ 0xb74e0\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x921fb8\nMOV             X29, SP                                                ; +0x4, 0x921fbc\nLDR             X1, [X0,#0x290]                                        ; +0x8, 0x921fc0\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x921fc4\nCBZ             X1, loc_921FE0                                         ; +0x10, 0x921fc8\nLDR             W0, [X0,#0x3D8]                                        ; +0x14, 0x921fcc\nLDP             X19, X20, [SP,#var_s10]                                ; +0x18, 0x921fd0\nSTR             W0, [X1,#0x59C]                                        ; +0x1c, 0x921fd4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x20, 0x921fd8\nRET                                                                    ; +0x24, 0x921fdc\nMOV             X19, X0                                                ; +0x28, 0x921fe0\nMOV             W20, #0                                                ; +0x2c, 0x921fe4\nB               loc_921FFC                                             ; +0x30, 0x921fe8\nLDR             X0, [X19,#0x298]; this                                 ; +0x34, 0x921fec\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x921ff0\nLDR             W1, [X19,#0x3D8]                                       ; +0x3c, 0x921ff4\nSTR             W1, [X0,#0x59C]                                        ; +0x40, 0x921ff8\nLDR             X0, [X19,#0x298]; this                                 ; +0x44, 0x921ffc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x922000\nCMP             W20, W0                                                ; +0x4c, 0x922004\nMOV             W1, W20; unsigned int                                  ; +0x50, 0x922008\nADD             W20, W20, #1                                           ; +0x54, 0x92200c\nB.CC            loc_921FEC                                             ; +0x58, 0x922010\nLDP             X19, X20, [SP,#var_s10]                                ; +0x5c, 0x922014\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x60, 0x922018\nRET                                                                    ; +0x64, 0x92201c", "xrefs": ["GJFollowCommandLayer::sliderChanged @ 0x922048", "GJFollowCommandLayer::textChanged @ 0x922134", "<???> @ 0xb74e0"], "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"}