{"type": "func", "start": 4296412156, "end": 4296412260, "name": "GJPFollowCommandLayer::updateMaxSpeed", "pseudocode": "// \n// GJPFollowCommandLayer::updateMaxSpeed from 0x100160bfc to 0x100160c64 (104 bytes)\n// \n// 1 xrefs:\n// > GJPFollowCommandLayer::textChanged @ 0x100160afc\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 __fastcall GJPFollowCommandLayer::updateMaxSpeed(GJPFollowCommandLayer *a1)\n{\n  EffectGameObject *m_gameObject; // x8\n  __int64 v3; // x20\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_followYMaxSpeed = a1->m_maxSpeed;\n  }\n  else if ( (unsigned int)sub_10024A36C(a1->m_gameObjects) )\n  {\n    v3 = 0;\n    do\n    {\n      *(float *)(sub_10024A388(a1->m_gameObjects, v3) + 1588) = a1->m_maxSpeed;\n      v3 = (unsigned int)(v3 + 1);\n    }\n    while ( (unsigned int)v3 < (unsigned int)sub_10024A36C(a1->m_gameObjects) );\n  }\n}", "assembly": "; \n; GJPFollowCommandLayer::updateMaxSpeed from 0x100160bfc to 0x100160c64 (104 bytes)\n; \n; 1 xrefs:\n; > GJPFollowCommandLayer::textChanged @ 0x100160afc\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100160bfc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100160c00\nADD             X29, SP, #0x10                                         ; +0x8, 0x100160c04\nMOV             X19, X0                                                ; +0xc, 0x100160c08\nLDR             X8, [X0,#0x290]                                        ; +0x10, 0x100160c0c\nCBZ             X8, loc_100160C20                                      ; +0x14, 0x100160c10\nLDR             S0, [X19,#0x404]                                       ; +0x18, 0x100160c14\nSTR             S0, [X8,#0x634]                                        ; +0x1c, 0x100160c18\nB               loc_100160C58                                          ; +0x20, 0x100160c1c\nLDR             X0, [X19,#0x298]                                       ; +0x24, 0x100160c20\nBL              sub_10024A36C                                          ; +0x28, 0x100160c24\nCBZ             W0, loc_100160C58                                      ; +0x2c, 0x100160c28\nMOV             W20, #0                                                ; +0x30, 0x100160c2c\nLDR             X0, [X19,#0x298]                                       ; +0x34, 0x100160c30\nMOV             X1, X20                                                ; +0x38, 0x100160c34\nBL              sub_10024A388                                          ; +0x3c, 0x100160c38\nLDR             S0, [X19,#0x404]                                       ; +0x40, 0x100160c3c\nSTR             S0, [X0,#0x634]                                        ; +0x44, 0x100160c40\nADD             W20, W20, #1                                           ; +0x48, 0x100160c44\nLDR             X0, [X19,#0x298]                                       ; +0x4c, 0x100160c48\nBL              sub_10024A36C                                          ; +0x50, 0x100160c4c\nCMP             W20, W0                                                ; +0x54, 0x100160c50\nB.CC            loc_100160C30                                          ; +0x58, 0x100160c54\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100160c58\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x100160c5c\nRET                                                                    ; +0x64, 0x100160c60", "xrefs": ["GJPFollowCommandLayer::textChanged @ 0x100160afc"], "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"}