{"type": "func", "start": 8308816, "end": 8308932, "name": "GJGroundLayer::positionGround", "pseudocode": "// \n// GJGroundLayer::positionGround from 0x7ec850 to 0x7ec8c4 (116 bytes)\n// \n// 2 xrefs:\n// > LevelSelectLayer::init @ 0x79de04\n// > <???> @ 0x38310\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 GJGroundLayer::positionGround(GJGroundLayer *a1, float a2)\n{\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21\n  cocos2d::CCPoint v4; // [xsp+40h] [xbp+40h] BYREF\n\n  setPosition = a1->setPosition;\n  cocos2d::CCPoint::CCPoint(&v4, 0.0, a2);\n  setPosition(a1, &v4);\n}", "assembly": "; \n; GJGroundLayer::positionGround from 0x7ec850 to 0x7ec8c4 (116 bytes)\n; \n; 2 xrefs:\n; > LevelSelectLayer::init @ 0x79de04\n; > <???> @ 0x38310\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,#var_50]!                                ; +0x0, 0x7ec850\nFMOV            S1, S0; float                                          ; +0x4, 0x7ec854\nMOV             X29, SP                                                ; +0x8, 0x7ec858\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0xc, 0x7ec85c\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x7ec860\nMOV             X20, X0                                                ; +0x14, 0x7ec864\nFMOV            S0, WZR; float                                         ; +0x18, 0x7ec868\nADD             X1, X29, #0x50+var_10                                  ; +0x1c, 0x7ec86c\nMOV             X0, X1; this                                           ; +0x20, 0x7ec870\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x24, 0x7ec874\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x7ec878\nLDR             X3, [X20]                                              ; +0x2c, 0x7ec87c\nSTR             X1, [X29,#0x50+var_18]                                 ; +0x30, 0x7ec880\nLDR             X2, [X19]                                              ; +0x34, 0x7ec884\nLDR             X21, [X3,#0xB8]                                        ; +0x38, 0x7ec888\nSTR             X2, [X29,#0x50+var_8]                                  ; +0x3c, 0x7ec88c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x40, 0x7ec890\nLDR             X1, [X29,#0x50+var_18]                                 ; +0x44, 0x7ec894\nMOV             X0, X20                                                ; +0x48, 0x7ec898\nBLR             X21                                                    ; +0x4c, 0x7ec89c\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x50, 0x7ec8a0\nLDR             X0, [X19]                                              ; +0x54, 0x7ec8a4\nCMP             X1, X0                                                 ; +0x58, 0x7ec8a8\nB.NE            loc_7EC8C0                                             ; +0x5c, 0x7ec8ac\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x60, 0x7ec8b0\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x64, 0x7ec8b4\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x68, 0x7ec8b8\nRET                                                                    ; +0x6c, 0x7ec8bc\nBL              .__stack_chk_fail                                      ; +0x70, 0x7ec8c0", "xrefs": ["LevelSelectLayer::init @ 0x79de04", "<???> @ 0x38310"], "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"}