{"type": "func", "start": 4297592416, "end": 4297592552, "name": "GJBaseGameLayer::processCameraObject", "pseudocode": "// \n// GJBaseGameLayer::processCameraObject from 0x100280e60 to 0x100280ee8 (136 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::switchToFlyMode @ 0x100281d30\n// > GJBaseGameLayer::switchToRollMode @ 0x100281e2c\n// > GJBaseGameLayer::switchToRobotMode @ 0x100281e90\n// > GJBaseGameLayer::switchToSpiderMode @ 0x100281ef4\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:01:55 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::processCameraObject(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // x19\n  double *v6; // x0\n  __int64 v8; // [xsp+8h] [xbp-28h] BYREF\n\n  v3 = a2;\n  if ( a2 )\n  {\n    v6 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);\n    sub_1000262F4(&v8, v6);\n    sub_10002630C((_QWORD *)(a3 + 2488), (double *)&v8);\n    *(_QWORD *)(a3 + 2592) = v3;\n  }\n  if ( *(_BYTE *)(a1 + 1010) == 1 && *(_QWORD *)(a1 + 984) )\n    v3 = *(_QWORD *)(a1 + 984);\n  if ( v3 )\n    *(_QWORD *)(a1 + 976) = v3;\n  return v3;\n}", "assembly": "; \n; GJBaseGameLayer::processCameraObject from 0x100280e60 to 0x100280ee8 (136 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::switchToFlyMode @ 0x100281d30\n; > GJBaseGameLayer::switchToRollMode @ 0x100281e2c\n; > GJBaseGameLayer::switchToRobotMode @ 0x100281e90\n; > GJBaseGameLayer::switchToSpiderMode @ 0x100281ef4\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:01:55 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100280e60\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100280e64\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100280e68\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100280e6c\nADD             X29, SP, #0x30                                         ; +0x10, 0x100280e70\nMOV             X19, X1                                                ; +0x14, 0x100280e74\nMOV             X20, X0                                                ; +0x18, 0x100280e78\nCBZ             X1, loc_100280EB0                                      ; +0x1c, 0x100280e7c\nMOV             X21, X2                                                ; +0x20, 0x100280e80\nLDR             X8, [X19]                                              ; +0x24, 0x100280e84\nLDR             X8, [X8,#0xC0]                                         ; +0x28, 0x100280e88\nMOV             X0, X19                                                ; +0x2c, 0x100280e8c\nBLR             X8                                                     ; +0x30, 0x100280e90\nMOV             X1, X0                                                 ; +0x34, 0x100280e94\nADD             X0, SP, #0x30+var_28                                   ; +0x38, 0x100280e98\nBL              sub_1000262F4                                          ; +0x3c, 0x100280e9c\nADD             X0, X21, #0x9B8                                        ; +0x40, 0x100280ea0\nADD             X1, SP, #0x30+var_28                                   ; +0x44, 0x100280ea4\nBL              sub_10002630C                                          ; +0x48, 0x100280ea8\nSTR             X19, [X21,#0xA20]                                      ; +0x4c, 0x100280eac\nLDRB            W8, [X20,#0x3F2]                                       ; +0x50, 0x100280eb0\nCMP             W8, #1                                                 ; +0x54, 0x100280eb4\nB.NE            loc_100280EC8                                          ; +0x58, 0x100280eb8\nLDR             X8, [X20,#0x3D8]                                       ; +0x5c, 0x100280ebc\nCMP             X8, #0                                                 ; +0x60, 0x100280ec0\nCSEL            X19, X19, X8, EQ                                       ; +0x64, 0x100280ec4\nCBZ             X19, loc_100280ED0                                     ; +0x68, 0x100280ec8\nSTR             X19, [X20,#0x3D0]                                      ; +0x6c, 0x100280ecc\nMOV             X0, X19                                                ; +0x70, 0x100280ed0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x74, 0x100280ed4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x78, 0x100280ed8\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x7c, 0x100280edc\nADD             SP, SP, #0x40 ; '@'                                    ; +0x80, 0x100280ee0\nRET                                                                    ; +0x84, 0x100280ee4", "xrefs": ["GJBaseGameLayer::switchToFlyMode @ 0x100281d30", "GJBaseGameLayer::switchToRollMode @ 0x100281e2c", "GJBaseGameLayer::switchToRobotMode @ 0x100281e90", "GJBaseGameLayer::switchToSpiderMode @ 0x100281ef4"], "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"}