{"type": "func", "start": 8305160, "end": 8305236, "name": "GJGroundLayer::updateGroundPos", "pseudocode": "// \n// GJGroundLayer::updateGroundPos from 0x7eba08 to 0x7eba54 (76 bytes)\n// \n// 4 xrefs:\n// > MenuGameLayer::update @ 0x6c9a54\n// > GJBaseGameLayer::updateCameraBGArt @ 0x8671c8\n// > GJBaseGameLayer::updateCameraBGArt @ 0x8671e4\n// > <???> @ 0x59370\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 GJGroundLayer::updateGroundPos(GJGroundLayer *a1, cocos2d::CCPoint a2)\n{\n  const cocos2d::CCPoint *v2; // x1\n  const cocos2d::CCPoint *v4; // x20\n  cocos2d::CCSprite *m_ground2Sprite; // x0\n\n  v4 = v2;\n  ((void (__fastcall *)(cocos2d::CCSprite *, long double, long double))a1->m_ground1Sprite->setPosition)(\n    a1->m_ground1Sprite,\n    *(long double *)&a2.x,\n    *(long double *)&a2.y);\n  m_ground2Sprite = a1->m_ground2Sprite;\n  if ( m_ground2Sprite )\n    m_ground2Sprite->setPosition(m_ground2Sprite, v4);\n}", "assembly": "; \n; GJGroundLayer::updateGroundPos from 0x7eba08 to 0x7eba54 (76 bytes)\n; \n; 4 xrefs:\n; > MenuGameLayer::update @ 0x6c9a54\n; > GJBaseGameLayer::updateCameraBGArt @ 0x8671c8\n; > GJBaseGameLayer::updateCameraBGArt @ 0x8671e4\n; > <???> @ 0x59370\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,#-0x20+var_s0]!                          ; +0x0, 0x7eba08\nMOV             X29, SP                                                ; +0x4, 0x7eba0c\nLDR             X2, [X0,#0x198]                                        ; +0x8, 0x7eba10\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x7eba14\nMOV             X19, X0                                                ; +0x10, 0x7eba18\nMOV             X0, X2                                                 ; +0x14, 0x7eba1c\nLDR             X2, [X2]                                               ; +0x18, 0x7eba20\nMOV             X20, X1                                                ; +0x1c, 0x7eba24\nLDR             X2, [X2,#0xB8]                                         ; +0x20, 0x7eba28\nBLR             X2                                                     ; +0x24, 0x7eba2c\nLDR             X0, [X19,#0x1A0]                                       ; +0x28, 0x7eba30\nCBZ             X0, loc_7EBA48                                         ; +0x2c, 0x7eba34\nLDR             X2, [X0]                                               ; +0x30, 0x7eba38\nMOV             X1, X20                                                ; +0x34, 0x7eba3c\nLDR             X2, [X2,#0xB8]                                         ; +0x38, 0x7eba40\nBLR             X2                                                     ; +0x3c, 0x7eba44\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x7eba48\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x7eba4c\nRET                                                                    ; +0x48, 0x7eba50", "xrefs": ["MenuGameLayer::update @ 0x6c9a54", "GJBaseGameLayer::updateCameraBGArt @ 0x8671c8", "GJBaseGameLayer::updateCameraBGArt @ 0x8671e4", "<???> @ 0x59370"], "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"}