{"type": "func", "start": 9576040, "end": 9576144, "name": "GJFollowCommandLayer::updateXMod", "pseudocode": "// \n// GJFollowCommandLayer::updateXMod from 0x921e68 to 0x921ed0 (104 bytes)\n// \n// 3 xrefs:\n// > GJFollowCommandLayer::sliderXModChanged @ 0x921f0c\n// > GJFollowCommandLayer::textChanged @ 0x922274\n// > <???> @ 0x4bde0\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; // 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_followXMod = a1->m_xMod;\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) + 1552) = a1->m_xMod;\n    }\n  }\n}", "assembly": "; \n; GJFollowCommandLayer::updateXMod from 0x921e68 to 0x921ed0 (104 bytes)\n; \n; 3 xrefs:\n; > GJFollowCommandLayer::sliderXModChanged @ 0x921f0c\n; > GJFollowCommandLayer::textChanged @ 0x922274\n; > <???> @ 0x4bde0\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, 0x921e68\nMOV             X29, SP                                                ; +0x4, 0x921e6c\nLDR             X1, [X0,#0x290]                                        ; +0x8, 0x921e70\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x921e74\nCBZ             X1, loc_921E90                                         ; +0x10, 0x921e78\nLDR             W0, [X0,#0x400]                                        ; +0x14, 0x921e7c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x18, 0x921e80\nSTR             W0, [X1,#0x610]                                        ; +0x1c, 0x921e84\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x20, 0x921e88\nRET                                                                    ; +0x24, 0x921e8c\nMOV             X19, X0                                                ; +0x28, 0x921e90\nMOV             W20, #0                                                ; +0x2c, 0x921e94\nB               loc_921EAC                                             ; +0x30, 0x921e98\nLDR             X0, [X19,#0x298]; this                                 ; +0x34, 0x921e9c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x921ea0\nLDR             W1, [X19,#0x400]                                       ; +0x3c, 0x921ea4\nSTR             W1, [X0,#0x610]                                        ; +0x40, 0x921ea8\nLDR             X0, [X19,#0x298]; this                                 ; +0x44, 0x921eac\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x921eb0\nCMP             W20, W0                                                ; +0x4c, 0x921eb4\nMOV             W1, W20; unsigned int                                  ; +0x50, 0x921eb8\nADD             W20, W20, #1                                           ; +0x54, 0x921ebc\nB.CC            loc_921E9C                                             ; +0x58, 0x921ec0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x5c, 0x921ec4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x60, 0x921ec8\nRET                                                                    ; +0x64, 0x921ecc", "xrefs": ["GJFollowCommandLayer::sliderXModChanged @ 0x921f0c", "GJFollowCommandLayer::textChanged @ 0x922274", "<???> @ 0x4bde0"], "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"}