{"type": "func", "start": 8309808, "end": 8309884, "name": "GJMGLayer::updateGroundPos", "pseudocode": "// \n// GJMGLayer::updateGroundPos from 0x7ecc30 to 0x7ecc7c (76 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x8670ec\n// > <???> @ 0xb81a0\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 GJMGLayer::updateGroundPos(GJMGLayer *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; GJMGLayer::updateGroundPos from 0x7ecc30 to 0x7ecc7c (76 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x8670ec\n; > <???> @ 0xb81a0\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, 0x7ecc30\nMOV             X29, SP                                                ; +0x4, 0x7ecc34\nLDR             X2, [X0,#0x198]                                        ; +0x8, 0x7ecc38\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x7ecc3c\nMOV             X19, X0                                                ; +0x10, 0x7ecc40\nMOV             X0, X2                                                 ; +0x14, 0x7ecc44\nLDR             X2, [X2]                                               ; +0x18, 0x7ecc48\nMOV             X20, X1                                                ; +0x1c, 0x7ecc4c\nLDR             X2, [X2,#0xB8]                                         ; +0x20, 0x7ecc50\nBLR             X2                                                     ; +0x24, 0x7ecc54\nLDR             X0, [X19,#0x1A0]                                       ; +0x28, 0x7ecc58\nCBZ             X0, loc_7ECC70                                         ; +0x2c, 0x7ecc5c\nLDR             X2, [X0]                                               ; +0x30, 0x7ecc60\nMOV             X1, X20                                                ; +0x34, 0x7ecc64\nLDR             X2, [X2,#0xB8]                                         ; +0x38, 0x7ecc68\nBLR             X2                                                     ; +0x3c, 0x7ecc6c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x7ecc70\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x7ecc74\nRET                                                                    ; +0x48, 0x7ecc78", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x8670ec", "<???> @ 0xb81a0"], "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"}