{"type": "func", "start": 4296412052, "end": 4296412156, "name": "GJPFollowCommandLayer::updatePlayerOffset", "pseudocode": "// \n// GJPFollowCommandLayer::updatePlayerOffset from 0x100160b94 to 0x100160bfc (104 bytes)\n// \n// 1 xrefs:\n// > GJPFollowCommandLayer::textChanged @ 0x1001609e0\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::updatePlayerOffset(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_followYOffset = a1->m_offset;\n  }\n  else if ( (unsigned int)sub_10024A36C(a1->m_gameObjects) )\n  {\n    v3 = 0;\n    do\n    {\n      *(_DWORD *)(sub_10024A388(a1->m_gameObjects, v3) + 1584) = a1->m_offset;\n      v3 = (unsigned int)(v3 + 1);\n    }\n    while ( (unsigned int)v3 < (unsigned int)sub_10024A36C(a1->m_gameObjects) );\n  }\n}", "assembly": "; \n; GJPFollowCommandLayer::updatePlayerOffset from 0x100160b94 to 0x100160bfc (104 bytes)\n; \n; 1 xrefs:\n; > GJPFollowCommandLayer::textChanged @ 0x1001609e0\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, 0x100160b94\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100160b98\nADD             X29, SP, #0x10                                         ; +0x8, 0x100160b9c\nMOV             X19, X0                                                ; +0xc, 0x100160ba0\nLDR             X8, [X0,#0x290]                                        ; +0x10, 0x100160ba4\nCBZ             X8, loc_100160BB8                                      ; +0x14, 0x100160ba8\nLDR             W9, [X19,#0x400]                                       ; +0x18, 0x100160bac\nSTR             W9, [X8,#0x630]                                        ; +0x1c, 0x100160bb0\nB               loc_100160BF0                                          ; +0x20, 0x100160bb4\nLDR             X0, [X19,#0x298]                                       ; +0x24, 0x100160bb8\nBL              sub_10024A36C                                          ; +0x28, 0x100160bbc\nCBZ             W0, loc_100160BF0                                      ; +0x2c, 0x100160bc0\nMOV             W20, #0                                                ; +0x30, 0x100160bc4\nLDR             X0, [X19,#0x298]                                       ; +0x34, 0x100160bc8\nMOV             X1, X20                                                ; +0x38, 0x100160bcc\nBL              sub_10024A388                                          ; +0x3c, 0x100160bd0\nLDR             W8, [X19,#0x400]                                       ; +0x40, 0x100160bd4\nSTR             W8, [X0,#0x630]                                        ; +0x44, 0x100160bd8\nADD             W20, W20, #1                                           ; +0x48, 0x100160bdc\nLDR             X0, [X19,#0x298]                                       ; +0x4c, 0x100160be0\nBL              sub_10024A36C                                          ; +0x50, 0x100160be4\nCMP             W20, W0                                                ; +0x54, 0x100160be8\nB.CC            loc_100160BC8                                          ; +0x58, 0x100160bec\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100160bf0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x100160bf4\nRET                                                                    ; +0x64, 0x100160bf8", "xrefs": ["GJPFollowCommandLayer::textChanged @ 0x1001609e0"], "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"}