{"type": "func", "start": 4295151276, "end": 4295151356, "name": "GJMGLayer::updateGroundPos", "pseudocode": "// \n// GJMGLayer::updateGroundPos from 0x10002ceac to 0x10002cefc (80 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x100203998\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 GJMGLayer::updateGroundPos(GJMGLayer *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; GJMGLayer::updateGroundPos from 0x10002ceac to 0x10002cefc (80 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x100203998\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, 0x10002ceac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10002ceb0\nADD             X29, SP, #0x10                                         ; +0x8, 0x10002ceb4\nMOV             X19, X1                                                ; +0xc, 0x10002ceb8\nMOV             X20, X0                                                ; +0x10, 0x10002cebc\nLDR             X0, [X0,#0x198]                                        ; +0x14, 0x10002cec0\nLDR             X8, [X0]                                               ; +0x18, 0x10002cec4\nLDR             X8, [X8,#0xB8]                                         ; +0x1c, 0x10002cec8\nBLR             X8                                                     ; +0x20, 0x10002cecc\nLDR             X0, [X20,#0x1A0]                                       ; +0x24, 0x10002ced0\nCBZ             X0, loc_10002CEF0                                      ; +0x28, 0x10002ced4\nLDR             X8, [X0]                                               ; +0x2c, 0x10002ced8\nLDR             X2, [X8,#0xB8]                                         ; +0x30, 0x10002cedc\nMOV             X1, X19                                                ; +0x34, 0x10002cee0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x10002cee4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x10002cee8\nBR              X2                                                     ; +0x40, 0x10002ceec\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x10002cef0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x10002cef4\nRET                                                                    ; +0x4c, 0x10002cef8", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x100203998"], "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"}