{"type": "func", "start": 8745484, "end": 8745564, "name": "GJBaseGameLayer::swapGround", "pseudocode": "// \n// GJBaseGameLayer::swapGround from 0x85720c to 0x85725c (80 bytes)\n// \n// 2 xrefs:\n// > ArtTriggerGameObject::triggerObject @ 0x74b33c\n// > <???> @ 0x48fd8\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 GJBaseGameLayer::swapGround(GJBaseGameLayer *a1, int a2)\n{\n  GameManager *v3; // x0\n\n  a1->m_gameState.m_ground = a2;\n  if ( !a1->m_skipArtReload && a2 != GameManager::sharedState()->m_loadedGroundID )\n  {\n    v3 = GameManager::sharedState();\n    GameManager::loadGroundAsync(v3, a2);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::swapGround from 0x85720c to 0x85725c (80 bytes)\n; \n; 2 xrefs:\n; > ArtTriggerGameObject::triggerObject @ 0x74b33c\n; > <???> @ 0x48fd8\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x85720c\nADD             X2, X0, #3,LSL#12                                      ; +0x4, 0x857210\nMOV             X29, SP                                                ; +0x8, 0x857214\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x857218\nSTR             W1, [X0,#0x880]                                        ; +0x10, 0x85721c\nLDRB            W0, [X2,#0x285]; this                                  ; +0x14, 0x857220\nCBZ             W0, loc_857234                                         ; +0x18, 0x857224\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x857228\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0x85722c\nRET                                                                    ; +0x24, 0x857230\nMOV             W19, W1                                                ; +0x28, 0x857234\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2c, 0x857238\nLDR             W0, [X0,#0x364]; this                                  ; +0x30, 0x85723c\nCMP             W19, W0                                                ; +0x34, 0x857240\nB.EQ            loc_857228                                             ; +0x38, 0x857244\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3c, 0x857248\nMOV             W1, W19; int                                           ; +0x40, 0x85724c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0x857250\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0x857254\nB               _ZN11GameManager15loadGroundAsyncEi; GameManager::loadGroundAsync(int) ; +0x4c, 0x857258", "xrefs": ["ArtTriggerGameObject::triggerObject @ 0x74b33c", "<???> @ 0x48fd8"], "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"}