{"type": "func", "start": 4296025104, "end": 4296025231, "name": "GJBaseGameLayer::updateCameraMode", "pseudocode": "// \n// GJBaseGameLayer::updateCameraMode from 0x100102410 to 0x10010248f (127 bytes)\n// \n// 1 xrefs:\n// > CameraTriggerGameObject::triggerObject @ 0x1001bef94\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 12:21:21 +0000\n// \n\nunsigned __int8 __fastcall GJBaseGameLayer::updateCameraMode(__int64 a1, __int64 a2, unsigned __int8 a3)\n{\n  char v3; // al\n  char v4; // cl\n  unsigned __int8 result; // al\n\n  v3 = *(_BYTE *)(a1 + 785);\n  v4 = *(_BYTE *)(a2 + 1748);\n  *(_BYTE *)(a1 + 785) = v4;\n  *(_BYTE *)(a1 + 786) = *(_BYTE *)(a2 + 1760);\n  if ( *(_BYTE *)(a2 + 1749) == 1 )\n    _mm_storel_ps(\n      (double *)(a1 + 716),\n      _mm_min_ps(\n        (__m128)0x422000003F800000uLL,\n        _mm_max_ps(\n          (__m128)0x3F80000000000000uLL,\n          _mm_shuffle_ps((__m128)*(unsigned __int64 *)(a2 + 1752), (__m128)*(unsigned __int64 *)(a2 + 1752), 225))));\n  result = v3 == v4;\n  if ( !(result | a3 ^ 1) )\n    return GJBaseGameLayer::updateDualGround(a1, *(_QWORD *)(a1 + 3256), *(_DWORD *)(a1 + 1256), 0);\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraMode from 0x100102410 to 0x10010248f (127 bytes)\n; \n; 1 xrefs:\n; > CameraTriggerGameObject::triggerObject @ 0x1001bef94\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 12:21:21 +0000\n; \npush    rbp                                                            ; +0x0, 0x100102410\nmov     rbp, rsp                                                       ; +0x1, 0x100102411\nmovzx   eax, byte ptr [rdi+311h]                                       ; +0x4, 0x100102414\nmovzx   ecx, byte ptr [rsi+6D4h]                                       ; +0xb, 0x10010241b\nmov     [rdi+311h], cl                                                 ; +0x12, 0x100102422\nmovzx   r8d, byte ptr [rsi+6E0h]                                       ; +0x18, 0x100102428\nmov     [rdi+312h], r8b                                                ; +0x20, 0x100102430\ncmp     byte ptr [rsi+6D5h], 1                                         ; +0x27, 0x100102437\njnz     short loc_100102469                                            ; +0x2e, 0x10010243e\nmovsd   xmm0, qword ptr [rsi+6D8h]                                     ; +0x30, 0x100102440\nshufps  xmm0, xmm0, 0E1h                                               ; +0x38, 0x100102448\nmovsd   xmm1, qword ptr cs:xmmword_100A03610                           ; +0x3c, 0x10010244c\nmaxps   xmm1, xmm0                                                     ; +0x44, 0x100102454\nmovsd   xmm0, cs:qword_100A04D30                                       ; +0x47, 0x100102457\nminps   xmm0, xmm1                                                     ; +0x4f, 0x10010245f\nmovlps  qword ptr [rdi+2CCh], xmm0                                     ; +0x52, 0x100102462\ncmp     al, cl                                                         ; +0x59, 0x100102469\nsetz    al                                                             ; +0x5b, 0x10010246b\nxor     dl, 1                                                          ; +0x5e, 0x10010246e\nor      dl, al                                                         ; +0x61, 0x100102471\njnz     short loc_10010248D                                            ; +0x63, 0x100102473\nmov     rsi, [rdi+0CB8h]                                               ; +0x65, 0x100102475\nmov     edx, [rdi+4E8h]                                                ; +0x6c, 0x10010247c\nxorps   xmm0, xmm0                                                     ; +0x72, 0x100102482\nxor     ecx, ecx                                                       ; +0x75, 0x100102485\npop     rbp                                                            ; +0x77, 0x100102487\njmp     GJBaseGameLayer__updateDualGround                              ; +0x78, 0x100102488\npop     rbp                                                            ; +0x7d, 0x10010248d\nretn                                                                   ; +0x7e, 0x10010248e", "xrefs": ["CameraTriggerGameObject::triggerObject @ 0x1001bef94"], "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"}