{"type": "func", "start": 4301173888, "end": 4301173953, "name": "GJGroundLayer::updateGroundPos", "pseudocode": "// \n// GJGroundLayer::updateGroundPos from 0x1005eb480 to 0x1005eb4c1 (65 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x10015b8f2\n// > GJBaseGameLayer::updateCameraBGArt @ 0x10015b90f\n// > MenuGameLayer::update @ 0x1004faf14\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 __fastcall GJGroundLayer::updateGroundPos(GJGroundLayer *a1, cocos2d::CCPoint a2)\n{\n  cocos2d::CCSprite *m_ground2Sprite; // rdi\n\n  ((void (__fastcall *)(cocos2d::CCSprite *, double))a1->m_ground1Sprite->setPosition)(\n    a1->m_ground1Sprite,\n    *(double *)&a2);\n  m_ground2Sprite = a1->m_ground2Sprite;\n  if ( m_ground2Sprite )\n    ((void (__fastcall *)(cocos2d::CCSprite *))m_ground2Sprite->setPosition)(m_ground2Sprite);\n}", "assembly": "; \n; GJGroundLayer::updateGroundPos from 0x1005eb480 to 0x1005eb4c1 (65 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x10015b8f2\n; > GJBaseGameLayer::updateCameraBGArt @ 0x10015b90f\n; > MenuGameLayer::update @ 0x1004faf14\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\npush    rbp                                                            ; +0x0, 0x1005eb480\nmov     rbp, rsp                                                       ; +0x1, 0x1005eb481\npush    r14                                                            ; +0x4, 0x1005eb484\npush    rbx                                                            ; +0x6, 0x1005eb486\nmov     rbx, rsi                                                       ; +0x7, 0x1005eb487\nmov     r14, rdi                                                       ; +0xa, 0x1005eb48a\nmov     rdi, [rdi+198h]                                                ; +0xd, 0x1005eb48d\nmov     rax, [rdi]                                                     ; +0x14, 0x1005eb494\ncall    qword ptr [rax+0B8h]                                           ; +0x17, 0x1005eb497\nmov     rdi, [r14+1A0h]                                                ; +0x1d, 0x1005eb49d\ntest    rdi, rdi                                                       ; +0x24, 0x1005eb4a4\njz      short loc_1005EB4BC                                            ; +0x27, 0x1005eb4a7\nmov     rax, [rdi]                                                     ; +0x29, 0x1005eb4a9\nmov     rax, [rax+0B8h]                                                ; +0x2c, 0x1005eb4ac\nmov     rsi, rbx                                                       ; +0x33, 0x1005eb4b3\npop     rbx                                                            ; +0x36, 0x1005eb4b6\npop     r14                                                            ; +0x37, 0x1005eb4b7\npop     rbp                                                            ; +0x39, 0x1005eb4b9\njmp     rax                                                            ; +0x3a, 0x1005eb4ba\npop     rbx                                                            ; +0x3c, 0x1005eb4bc\npop     r14                                                            ; +0x3d, 0x1005eb4bd\npop     rbp                                                            ; +0x3f, 0x1005eb4bf\nretn                                                                   ; +0x40, 0x1005eb4c0", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x10015b8f2", "GJBaseGameLayer::updateCameraBGArt @ 0x10015b90f", "MenuGameLayer::update @ 0x1004faf14"], "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"}