{"type": "func", "start": 5372156416, "end": 5372156621, "name": "GJBaseGameLayer::resetStaticCamera", "pseudocode": "// \n// GJBaseGameLayer::resetStaticCamera from 0x140349a00 to 0x140349acd (205 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::loadStartPosObject @ 0x14033e640\n// > GJBaseGameLayer::resetCamera @ 0x1403499a8\n// > <???> @ 0x14091ffac\n// \n// This function is hookable on this platform (idp: pc, 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:30:44 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::resetStaticCamera(_DWORD *a1, char a2, char a3)\n{\n  int v4; // [rsp+40h] [rbp+18h] BYREF\n\n  LOBYTE(v4) = a3;\n  if ( a2 )\n  {\n    v4 = 10;\n    sub_140355080(a1 + 266, &v4);\n    v4 = 12;\n    sub_140355080(a1 + 266, &v4);\n    a1[120] = 0;\n    a1[124] = 0;\n    a1[142] = 0;\n    a1[144] = 0;\n    a1[152] = 0;\n  }\n  v4 = 11;\n  sub_140355080(a1 + 266, &v4);\n  v4 = 13;\n  sub_140355080(a1 + 266, &v4);\n  a1[121] = 0;\n  a1[125] = 0;\n  a1[143] = 0;\n  a1[145] = 0;\n  a1[153] = 0;\n}", "assembly": "; \n; GJBaseGameLayer::resetStaticCamera from 0x140349a00 to 0x140349acd (205 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::loadStartPosObject @ 0x14033e640\n; > GJBaseGameLayer::resetCamera @ 0x1403499a8\n; > <???> @ 0x14091ffac\n; \n; This function is hookable on this platform (idp: pc, 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:30:44 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140349a00\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140349a05\nmov     byte ptr [rsp+arg_10], r8b                                     ; +0xa, 0x140349a0a\npush    rdi                                                            ; +0xf, 0x140349a0f\nsub     rsp, 20h                                                       ; +0x10, 0x140349a10\nxor     esi, esi                                                       ; +0x14, 0x140349a14\nmov     rbx, rcx                                                       ; +0x16, 0x140349a16\ntest    dl, dl                                                         ; +0x19, 0x140349a19\njz      short loc_140349A6D                                            ; +0x1b, 0x140349a1b\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x1d, 0x140349a1d\nmov     [rsp+28h+arg_10], 0Ah                                          ; +0x22, 0x140349a22\nadd     rcx, 428h                                                      ; +0x2a, 0x140349a2a\ncall    sub_140355080                                                  ; +0x31, 0x140349a31\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x36, 0x140349a36\nmov     [rsp+28h+arg_10], 0Ch                                          ; +0x3b, 0x140349a3b\nlea     rcx, [rbx+428h]                                                ; +0x43, 0x140349a43\ncall    sub_140355080                                                  ; +0x4a, 0x140349a4a\nmov     [rbx+1E0h], esi                                                ; +0x4f, 0x140349a4f\nmov     [rbx+1F0h], esi                                                ; +0x55, 0x140349a55\nmov     [rbx+238h], esi                                                ; +0x5b, 0x140349a5b\nmov     [rbx+240h], esi                                                ; +0x61, 0x140349a61\nmov     [rbx+260h], esi                                                ; +0x67, 0x140349a67\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x6d, 0x140349a6d\nmov     [rsp+28h+arg_10], 0Bh                                          ; +0x72, 0x140349a72\nlea     rcx, [rbx+428h]                                                ; +0x7a, 0x140349a7a\ncall    sub_140355080                                                  ; +0x81, 0x140349a81\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x86, 0x140349a86\nmov     [rsp+28h+arg_10], 0Dh                                          ; +0x8b, 0x140349a8b\nlea     rcx, [rbx+428h]                                                ; +0x93, 0x140349a93\ncall    sub_140355080                                                  ; +0x9a, 0x140349a9a\nmov     [rbx+1E4h], esi                                                ; +0x9f, 0x140349a9f\nmov     [rbx+1F4h], esi                                                ; +0xa5, 0x140349aa5\nmov     [rbx+23Ch], esi                                                ; +0xab, 0x140349aab\nmov     [rbx+244h], esi                                                ; +0xb1, 0x140349ab1\nmov     [rbx+264h], esi                                                ; +0xb7, 0x140349ab7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xbd, 0x140349abd\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xc2, 0x140349ac2\nadd     rsp, 20h                                                       ; +0xc7, 0x140349ac7\npop     rdi                                                            ; +0xcb, 0x140349acb\nretn                                                                   ; +0xcc, 0x140349acc", "xrefs": ["GJBaseGameLayer::loadStartPosObject @ 0x14033e640", "GJBaseGameLayer::resetCamera @ 0x1403499a8", "<???> @ 0x14091ffac"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}