{"type": "func", "start": 4296100016, "end": 4296100080, "name": "GJBaseGameLayer::swapGround", "pseudocode": "// \n// GJBaseGameLayer::swapGround from 0x1001148b0 to 0x1001148f0 (64 bytes)\n// \n// 1 xrefs:\n// > ArtTriggerGameObject::triggerObject @ 0x1001ed61c\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\nvoid __fastcall GJBaseGameLayer::swapGround(GJBaseGameLayer *a1, int a2)\n{\n  GameManager *v2; // rax\n\n  a1->m_gameState.m_ground = a2;\n  if ( !a1->m_skipArtReload && GameManager::sharedState()->m_loadedGroundID != a2 )\n  {\n    v2 = GameManager::sharedState();\n    GameManager::loadGroundAsync(v2, a2);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::swapGround from 0x1001148b0 to 0x1001148f0 (64 bytes)\n; \n; 1 xrefs:\n; > ArtTriggerGameObject::triggerObject @ 0x1001ed61c\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, 0x1001148b0\nmov     rbp, rsp                                                       ; +0x1, 0x1001148b1\npush    rbx                                                            ; +0x4, 0x1001148b4\npush    rax                                                            ; +0x5, 0x1001148b5\nmov     [rdi+770h], esi                                                ; +0x6, 0x1001148b6\ncmp     byte ptr [rdi+308Dh], 0                                        ; +0xc, 0x1001148bc\njnz     short loc_1001148D4                                            ; +0x13, 0x1001148c3\nmov     ebx, esi                                                       ; +0x15, 0x1001148c5\ncall    GameManager__sharedState                                       ; +0x17, 0x1001148c7\ncmp     [rax+3A4h], ebx                                                ; +0x1c, 0x1001148cc\njnz     short loc_1001148DB                                            ; +0x22, 0x1001148d2\nadd     rsp, 8                                                         ; +0x24, 0x1001148d4\npop     rbx                                                            ; +0x28, 0x1001148d8\npop     rbp                                                            ; +0x29, 0x1001148d9\nretn                                                                   ; +0x2a, 0x1001148da\ncall    GameManager__sharedState                                       ; +0x2b, 0x1001148db\nmov     rdi, rax                                                       ; +0x30, 0x1001148e0\nmov     esi, ebx                                                       ; +0x33, 0x1001148e3\nadd     rsp, 8                                                         ; +0x35, 0x1001148e5\npop     rbx                                                            ; +0x39, 0x1001148e9\npop     rbp                                                            ; +0x3a, 0x1001148ea\njmp     GameManager__loadGroundAsync                                   ; +0x3b, 0x1001148eb", "xrefs": ["ArtTriggerGameObject::triggerObject @ 0x1001ed61c"], "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"}