{"type": "func", "start": 4297677308, "end": 4297677540, "name": "GJBaseGameLayer::modifyObjectPhysics", "pseudocode": "// \n// GJBaseGameLayer::modifyObjectPhysics from 0x1002959fc to 0x100295ae4 (232 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::modifyGroupPhysics @ 0x1002959d8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:02:05 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::modifyObjectPhysics(__int64 a1, __int64 a2, __int64 a3)\n{\n  float v6; // s8\n  float v7; // s9\n  float v8; // s8\n  float v9; // s9\n  float v10; // s10\n  float v11; // s0\n  float v12; // s8\n  float v13; // s9\n  float v14; // s8\n  float v15; // s9\n  float v16; // s10\n  float v17; // s0\n  float32x2_t v18; // [xsp+8h] [xbp-48h] BYREF\n\n  v6 = *(float *)(a2 + 2084);\n  v7 = *(float *)(a2 + 2088);\n  v8 = v6 + (float)(v7 * sub_10004BDB8());\n  v9 = *(float *)(a2 + 2092);\n  v10 = *(float *)(a2 + 2096);\n  v11 = (float)(v9 + (float)(v10 * sub_10004BDB8())) * *(float *)(a3 + 12);\n  *(float *)(a3 + 8) = v8 * *(float *)(a3 + 8);\n  *(float *)(a3 + 12) = v11;\n  v12 = *(float *)(a2 + 1848);\n  v13 = *(float *)(a2 + 1852);\n  v14 = v12 + (float)(v13 * sub_10004BDB8());\n  if ( v14 != 0.0 )\n  {\n    v15 = *(float *)(a2 + 1860);\n    v16 = *(float *)(a2 + 1864);\n    v17 = sub_10004BDB8();\n    GJBaseGameLayer::getFollowSpeedVal(\n      a1,\n      *(_QWORD *)a3,\n      *(_DWORD *)(a2 + 1856),\n      *(_DWORD *)(a2 + 1868),\n      &v18,\n      v15 + (float)(v16 * v17),\n      v14);\n    if ( (*(_BYTE *)(a2 + 1880) & 1) == 0 )\n      *(float *)(a3 + 12) = v18.f32[1] + *(float *)(a3 + 12);\n    if ( (*(_BYTE *)(a2 + 1881) & 1) == 0 )\n      *(float *)(a3 + 8) = v18.f32[0] + *(float *)(a3 + 8);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::modifyObjectPhysics from 0x1002959fc to 0x100295ae4 (232 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::modifyGroupPhysics @ 0x1002959d8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:02:05 +0000\n; \nSUB             SP, SP, #0x60                                          ; +0x0, 0x1002959fc\nSTP             D11, D10, [SP,#0x50+var_40]                            ; +0x4, 0x100295a00\nSTP             D9, D8, [SP,#0x50+var_30]                              ; +0x8, 0x100295a04\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0xc, 0x100295a08\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0x100295a0c\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0x100295a10\nADD             X29, SP, #0x50                                         ; +0x18, 0x100295a14\nMOV             X19, X2                                                ; +0x1c, 0x100295a18\nMOV             X20, X1                                                ; +0x20, 0x100295a1c\nMOV             X21, X0                                                ; +0x24, 0x100295a20\nLDR             S8, [X1,#0x824]                                        ; +0x28, 0x100295a24\nLDR             S9, [X1,#0x828]                                        ; +0x2c, 0x100295a28\nBL              sub_10004BDB8                                          ; +0x30, 0x100295a2c\nFMADD           S8, S9, S0, S8                                         ; +0x34, 0x100295a30\nLDR             S9, [X20,#0x82C]                                       ; +0x38, 0x100295a34\nLDR             S10, [X20,#0x830]                                      ; +0x3c, 0x100295a38\nBL              sub_10004BDB8                                          ; +0x40, 0x100295a3c\nFMADD           S0, S10, S0, S9                                        ; +0x44, 0x100295a40\nLDP             S1, S2, [X19,#8]                                       ; +0x48, 0x100295a44\nFMUL            S1, S8, S1                                             ; +0x4c, 0x100295a48\nFMUL            S0, S0, S2                                             ; +0x50, 0x100295a4c\nSTP             S1, S0, [X19,#8]                                       ; +0x54, 0x100295a50\nLDR             S8, [X20,#0x738]                                       ; +0x58, 0x100295a54\nLDR             S9, [X20,#0x73C]                                       ; +0x5c, 0x100295a58\nBL              sub_10004BDB8                                          ; +0x60, 0x100295a5c\nFMADD           S8, S9, S0, S8                                         ; +0x64, 0x100295a60\nFCMP            S8, #0.0                                               ; +0x68, 0x100295a64\nB.EQ            loc_100295AC8                                          ; +0x6c, 0x100295a68\nLDR             S9, [X20,#0x744]                                       ; +0x70, 0x100295a6c\nLDR             S10, [X20,#0x748]                                      ; +0x74, 0x100295a70\nBL              sub_10004BDB8                                          ; +0x78, 0x100295a74\nFMADD           S0, S10, S0, S9                                        ; +0x7c, 0x100295a78\nLDR             X1, [X19]                                              ; +0x80, 0x100295a7c\nLDR             W2, [X20,#0x740]                                       ; +0x84, 0x100295a80\nLDR             W3, [X20,#0x74C]                                       ; +0x88, 0x100295a84\nADD             X8, SP, #0x50+var_48                                   ; +0x8c, 0x100295a88\nMOV             X0, X21                                                ; +0x90, 0x100295a8c\nFMOV            S1, S8                                                 ; +0x94, 0x100295a90\nBL              GJBaseGameLayer__getFollowSpeedVal                     ; +0x98, 0x100295a94\nLDRB            W8, [X20,#0x758]                                       ; +0x9c, 0x100295a98\nTBNZ            W8, #0, loc_100295AB0                                  ; +0xa0, 0x100295a9c\nLDR             S0, [SP,#0x50+var_44]                                  ; +0xa4, 0x100295aa0\nLDR             S1, [X19,#0xC]                                         ; +0xa8, 0x100295aa4\nFADD            S0, S0, S1                                             ; +0xac, 0x100295aa8\nSTR             S0, [X19,#0xC]                                         ; +0xb0, 0x100295aac\nLDRB            W8, [X20,#0x759]                                       ; +0xb4, 0x100295ab0\nTBNZ            W8, #0, loc_100295AC8                                  ; +0xb8, 0x100295ab4\nLDR             S0, [SP,#0x50+var_48]                                  ; +0xbc, 0x100295ab8\nLDR             S1, [X19,#8]                                           ; +0xc0, 0x100295abc\nFADD            S0, S0, S1                                             ; +0xc4, 0x100295ac0\nSTR             S0, [X19,#8]                                           ; +0xc8, 0x100295ac4\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0xcc, 0x100295ac8\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xd0, 0x100295acc\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0xd4, 0x100295ad0\nLDP             D9, D8, [SP,#0x50+var_30]                              ; +0xd8, 0x100295ad4\nLDP             D11, D10, [SP,#0x50+var_40]                            ; +0xdc, 0x100295ad8\nADD             SP, SP, #0x60 ; '`'                                    ; +0xe0, 0x100295adc\nRET                                                                    ; +0xe4, 0x100295ae0", "xrefs": ["GJBaseGameLayer::modifyGroupPhysics @ 0x1002959d8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}