{"type": "func", "start": 4296160256, "end": 4296160386, "name": "GJBaseGameLayer::processCameraObject", "pseudocode": "// \n// GJBaseGameLayer::processCameraObject from 0x100123400 to 0x100123482 (130 bytes)\n// \n// 0 xrefs:\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\nGameObject *__fastcall GJBaseGameLayer::processCameraObject(GJBaseGameLayer *a1, GameObject *a2, PlayerObject *a3)\n{\n  GameObject *m_lastActivatedPortal2; // rbx\n  _BYTE v6[40]; // [rsp+8h] [rbp-28h] BYREF\n\n  m_lastActivatedPortal2 = a2;\n  if ( a2 )\n  {\n    ((void (__fastcall *)(GameObject *))a2->getPosition)(a2);\n    sub_10028CC60(v6);\n    sub_10028CC90();\n    a3->m_lastActivatedPortal = a2;\n  }\n  if ( a1->m_gameState.m_isDualMode && a1->m_gameState.m_lastActivatedPortal2 )\n    m_lastActivatedPortal2 = a1->m_gameState.m_lastActivatedPortal2;\n  if ( m_lastActivatedPortal2 )\n    a1->m_gameState.m_lastActivatedPortal1 = m_lastActivatedPortal2;\n  return m_lastActivatedPortal2;\n}", "assembly": "; \n; GJBaseGameLayer::processCameraObject from 0x100123400 to 0x100123482 (130 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x100123400\nmov     rbp, rsp                                                       ; +0x1, 0x100123401\npush    r15                                                            ; +0x4, 0x100123404\npush    r14                                                            ; +0x6, 0x100123406\npush    r12                                                            ; +0x8, 0x100123408\npush    rbx                                                            ; +0xa, 0x10012340a\nsub     rsp, 10h                                                       ; +0xb, 0x10012340b\nmov     rbx, rsi                                                       ; +0xf, 0x10012340f\nmov     r14, rdi                                                       ; +0x12, 0x100123412\ntest    rsi, rsi                                                       ; +0x15, 0x100123415\njz      short loc_10012344E                                            ; +0x18, 0x100123418\nmov     r15, rdx                                                       ; +0x1a, 0x10012341a\nmov     rax, [rbx]                                                     ; +0x1d, 0x10012341d\nmov     rdi, rbx                                                       ; +0x20, 0x100123420\ncall    qword ptr [rax+0C0h]                                           ; +0x23, 0x100123423\nlea     r12, [rbp+var_28]                                              ; +0x29, 0x100123429\nmov     rdi, r12                                                       ; +0x2d, 0x10012342d\nmov     rsi, rax                                                       ; +0x30, 0x100123430\ncall    sub_10028CC60                                                  ; +0x33, 0x100123433\nlea     rdi, [r15+9B0h]                                                ; +0x38, 0x100123438\nmov     rsi, r12                                                       ; +0x3f, 0x10012343f\ncall    sub_10028CC90                                                  ; +0x42, 0x100123442\nmov     [r15+0A18h], rbx                                               ; +0x47, 0x100123447\ncmp     byte ptr [r14+3F2h], 1                                         ; +0x4e, 0x10012344e\njnz     short loc_100123466                                            ; +0x56, 0x100123456\nmov     rax, [r14+3D8h]                                                ; +0x58, 0x100123458\ntest    rax, rax                                                       ; +0x5f, 0x10012345f\ncmovnz  rbx, rax                                                       ; +0x62, 0x100123462\ntest    rbx, rbx                                                       ; +0x66, 0x100123466\njz      short loc_100123472                                            ; +0x69, 0x100123469\nmov     [r14+3D0h], rbx                                                ; +0x6b, 0x10012346b\nmov     rax, rbx                                                       ; +0x72, 0x100123472\nadd     rsp, 10h                                                       ; +0x75, 0x100123475\npop     rbx                                                            ; +0x79, 0x100123479\npop     r12                                                            ; +0x7a, 0x10012347a\npop     r14                                                            ; +0x7c, 0x10012347c\npop     r15                                                            ; +0x7e, 0x10012347e\npop     rbp                                                            ; +0x80, 0x100123480\nretn                                                                   ; +0x81, 0x100123481", "xrefs": [], "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"}