{"type": "func", "start": 4296925364, "end": 4296925444, "name": "GJBaseGameLayer::swapGround", "pseudocode": "// \n// GJBaseGameLayer::swapGround from 0x1001de0b4 to 0x1001de104 (80 bytes)\n// \n// 1 xrefs:\n// > ArtTriggerGameObject::triggerObject @ 0x1003972f4\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 *v3; // x0\n\n  a1->m_gameState.m_ground = a2;\n  if ( !a1->m_skipArtReload && GameManager::sharedState()->m_loadedGroundID != a2 )\n  {\n    v3 = GameManager::sharedState();\n    GameManager::loadGroundAsync(v3, a2);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::swapGround from 0x1001de0b4 to 0x1001de104 (80 bytes)\n; \n; 1 xrefs:\n; > ArtTriggerGameObject::triggerObject @ 0x1003972f4\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001de0b4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001de0b8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001de0bc\nSTR             W1, [X0,#0x770]                                        ; +0xc, 0x1001de0c0\nMOV             W8, #0x30B5                                            ; +0x10, 0x1001de0c4\nLDRB            W8, [X0,X8]                                            ; +0x14, 0x1001de0c8\nTBNZ            W8, #0, loc_1001DE0E4                                  ; +0x18, 0x1001de0cc\nMOV             X19, X1                                                ; +0x1c, 0x1001de0d0\nBL              GameManager__sharedState                               ; +0x20, 0x1001de0d4\nLDR             W8, [X0,#0x3A4]                                        ; +0x24, 0x1001de0d8\nCMP             W8, W19                                                ; +0x28, 0x1001de0dc\nB.NE            loc_1001DE0F0                                          ; +0x2c, 0x1001de0e0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x1001de0e4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x1001de0e8\nRET                                                                    ; +0x38, 0x1001de0ec\nBL              GameManager__sharedState                               ; +0x3c, 0x1001de0f0\nMOV             X1, X19                                                ; +0x40, 0x1001de0f4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x1001de0f8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x1001de0fc\nB               GameManager__loadGroundAsync                           ; +0x4c, 0x1001de100", "xrefs": ["ArtTriggerGameObject::triggerObject @ 0x1003972f4"], "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"}