{"type": "func", "start": 4296908660, "end": 4296908804, "name": "GJGameState::getGameObjectPhysics", "pseudocode": "// \n// GJGameState::getGameObjectPhysics from 0x1001d9f74 to 0x1001da004 (144 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001f9a28\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\nGameObjectPhysics *__fastcall GJGameState::getGameObjectPhysics(GJGameState *a1, GameObject *a2)\n{\n  __int64 *v4; // x0\n  GameObjectPhysics *result; // x0\n  __int64 v6; // [xsp+8h] [xbp-58h] BYREF\n  __int64 v7; // [xsp+10h] [xbp-50h] BYREF\n  _QWORD v8[3]; // [xsp+18h] [xbp-48h] BYREF\n  int v9; // [xsp+30h] [xbp-30h]\n  int m_uniqueID; // [xsp+3Ch] [xbp-24h] BYREF\n\n  m_uniqueID = a2->m_uniqueID;\n  v4 = sub_100018814(&a1->m_gameObjectPhysics.__table_.__bucket_list_.__ptr_.__value_, &m_uniqueID);\n  if ( !v4 )\n  {\n    v6 = 0;\n    sub_1000229B0(&v7);\n    sub_1000229B0(v8);\n    v8[1] = 0;\n    v8[2] = 0;\n    v9 = 0;\n    v4 = (__int64 *)sub_100209A70(&a1->m_gameObjectPhysics, &m_uniqueID, &m_uniqueID, &v6);\n    v4[3] = (__int64)a2;\n  }\n  result = (GameObjectPhysics *)(v4 + 3);\n  result->m_unkInt1 = a1->m_commandIndex;\n  return result;\n}", "assembly": "; \n; GJGameState::getGameObjectPhysics from 0x1001d9f74 to 0x1001da004 (144 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001f9a28\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\nSUB             SP, SP, #0x70                                          ; +0x0, 0x1001d9f74\nSTP             X22, X21, [SP,#0x60+var_20]                            ; +0x4, 0x1001d9f78\nSTP             X20, X19, [SP,#0x60+var_10]                            ; +0x8, 0x1001d9f7c\nSTP             X29, X30, [SP,#0x60+var_s0]                            ; +0xc, 0x1001d9f80\nADD             X29, SP, #0x60                                         ; +0x10, 0x1001d9f84\nMOV             X20, X1                                                ; +0x14, 0x1001d9f88\nMOV             X19, X0                                                ; +0x18, 0x1001d9f8c\nLDR             W8, [X1,#0x394]                                        ; +0x1c, 0x1001d9f90\nSTUR            W8, [X29,#var_24]                                      ; +0x20, 0x1001d9f94\nADD             X0, X0, #0x288                                         ; +0x24, 0x1001d9f98\nSUB             X1, X29, #-var_24                                      ; +0x28, 0x1001d9f9c\nBL              sub_100018814                                          ; +0x2c, 0x1001d9fa0\nCBZ             X0, loc_1001D9FB0                                      ; +0x30, 0x1001d9fa4\nADD             X0, X0, #0x18                                          ; +0x34, 0x1001d9fa8\nB               loc_1001D9FE8                                          ; +0x38, 0x1001d9fac\nSTR             XZR, [SP,#0x60+var_58]                                 ; +0x3c, 0x1001d9fb0\nADD             X21, SP, #0x60+var_58                                  ; +0x40, 0x1001d9fb4\nADD             X0, X21, #8                                            ; +0x44, 0x1001d9fb8\nBL              sub_1000229B0                                          ; +0x48, 0x1001d9fbc\nADD             X0, X21, #0x10                                         ; +0x4c, 0x1001d9fc0\nBL              sub_1000229B0                                          ; +0x50, 0x1001d9fc4\nSTP             XZR, XZR, [SP,#0x60+var_40]                            ; +0x54, 0x1001d9fc8\nSTR             WZR, [SP,#0x60+var_30]                                 ; +0x58, 0x1001d9fcc\nADD             X0, X19, #0x288                                        ; +0x5c, 0x1001d9fd0\nSUB             X1, X29, #-var_24                                      ; +0x60, 0x1001d9fd4\nSUB             X2, X29, #-var_24                                      ; +0x64, 0x1001d9fd8\nADD             X3, SP, #0x60+var_58                                   ; +0x68, 0x1001d9fdc\nBL              sub_100209A70                                          ; +0x6c, 0x1001d9fe0\nSTR             X20, [X0,#0x18]!                                       ; +0x70, 0x1001d9fe4\nLDR             W8, [X19,#0x208]                                       ; +0x74, 0x1001d9fe8\nSTR             W8, [X0,#0x20]                                         ; +0x78, 0x1001d9fec\nLDP             X29, X30, [SP,#0x60+var_s0]                            ; +0x7c, 0x1001d9ff0\nLDP             X20, X19, [SP,#0x60+var_10]                            ; +0x80, 0x1001d9ff4\nLDP             X22, X21, [SP,#0x60+var_20]                            ; +0x84, 0x1001d9ff8\nADD             SP, SP, #0x70 ; 'p'                                    ; +0x88, 0x1001d9ffc\nRET                                                                    ; +0x8c, 0x1001da000", "xrefs": ["GJBaseGameLayer::processAdvancedFollowAction @ 0x1001f9a28"], "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"}