{"type": "func", "start": 4295148220, "end": 4295148300, "name": "GJGroundLayer::updateGroundPos", "pseudocode": "// \n// GJGroundLayer::updateGroundPos from 0x10002c2bc to 0x10002c30c (80 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x100203a84\n// > GJBaseGameLayer::updateCameraBGArt @ 0x100203aa0\n// > MenuGameLayer::update @ 0x10039b614\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GJGroundLayer::updateGroundPos(GJGroundLayer *a1, cocos2d::CCPoint a2)\n{\n  __int64 v2; // x1\n  __int64 v3; // x19\n  cocos2d::CCSprite *m_ground2Sprite; // x0\n\n  v3 = v2;\n  ((void (__fastcall *)(cocos2d::CCSprite *, __n128, __n128))a1->m_ground1Sprite->setPosition)(\n    a1->m_ground1Sprite,\n    *(__n128 *)&a2.x,\n    *(__n128 *)&a2.y);\n  m_ground2Sprite = a1->m_ground2Sprite;\n  if ( m_ground2Sprite )\n    ((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_ground2Sprite->setPosition)(m_ground2Sprite, v3);\n}", "assembly": "; \n; GJGroundLayer::updateGroundPos from 0x10002c2bc to 0x10002c30c (80 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x100203a84\n; > GJBaseGameLayer::updateCameraBGArt @ 0x100203aa0\n; > MenuGameLayer::update @ 0x10039b614\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, 0x10002c2bc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10002c2c0\nADD             X29, SP, #0x10                                         ; +0x8, 0x10002c2c4\nMOV             X19, X1                                                ; +0xc, 0x10002c2c8\nMOV             X20, X0                                                ; +0x10, 0x10002c2cc\nLDR             X0, [X0,#0x198]                                        ; +0x14, 0x10002c2d0\nLDR             X8, [X0]                                               ; +0x18, 0x10002c2d4\nLDR             X8, [X8,#0xB8]                                         ; +0x1c, 0x10002c2d8\nBLR             X8                                                     ; +0x20, 0x10002c2dc\nLDR             X0, [X20,#0x1A0]                                       ; +0x24, 0x10002c2e0\nCBZ             X0, loc_10002C300                                      ; +0x28, 0x10002c2e4\nLDR             X8, [X0]                                               ; +0x2c, 0x10002c2e8\nLDR             X2, [X8,#0xB8]                                         ; +0x30, 0x10002c2ec\nMOV             X1, X19                                                ; +0x34, 0x10002c2f0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x10002c2f4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x10002c2f8\nBR              X2                                                     ; +0x40, 0x10002c2fc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x10002c300\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x10002c304\nRET                                                                    ; +0x4c, 0x10002c308", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x100203a84", "GJBaseGameLayer::updateCameraBGArt @ 0x100203aa0", "MenuGameLayer::update @ 0x10039b614"], "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"}