{"type": "func", "start": 4410668, "end": 4410722, "name": "GJGroundLayer::positionGround", "pseudocode": "// \n// GJGroundLayer::positionGround from 0x434d2c to 0x434d62 (54 bytes)\n// \n// 1 xrefs:\n// > LevelSelectLayer::init @ 0x40a024\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 *); // r7\n  cocos2d::CCPoint v4; // [sp+4h] [bp-10h] BYREF\n\n  setPosition = a1->setPosition;\n  cocos2d::CCPoint::CCPoint(&v4, 0.0, a2);\n  setPosition(a1, &v4);\n}", "assembly": "; \n; GJGroundLayer::positionGround from 0x434d2c to 0x434d62 (54 bytes)\n; \n; 1 xrefs:\n; > LevelSelectLayer::init @ 0x40a024\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            {R4-R7,LR}                                             ; +0x0, 0x434d2c\nSUB             SP, SP, #0x14                                          ; +0x2, 0x434d2e\nLDR             R4, =(__stack_chk_guard_ptr - 0x434D3C)                ; +0x4, 0x434d30\nADD             R5, SP, #0x14+var_10                                   ; +0x6, 0x434d32\nMOV             R2, R1; float                                          ; +0x8, 0x434d34\nMOV             R6, R0                                                 ; +0xa, 0x434d36\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x434d38\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x434d3a\nMOVS            R1, #0; float                                          ; +0x10, 0x434d3c\nLDR             R3, [R4]                                               ; +0x12, 0x434d3e\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x434d40\nLDR             R3, [R0]                                               ; +0x16, 0x434d42\nMOV             R0, R5; this                                           ; +0x18, 0x434d44\nLDR             R7, [R3,#0x5C]                                         ; +0x1a, 0x434d46\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1c, 0x434d48\nMOV             R0, R6                                                 ; +0x20, 0x434d4c\nMOV             R1, R5                                                 ; +0x22, 0x434d4e\nBLX             R7                                                     ; +0x24, 0x434d50\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x26, 0x434d52\nLDR             R3, [R4]                                               ; +0x28, 0x434d54\nCMP             R2, R3                                                 ; +0x2a, 0x434d56\nBEQ             loc_434D5E                                             ; +0x2c, 0x434d58\nBLX             __stack_chk_fail                                       ; +0x2e, 0x434d5a\nADD             SP, SP, #0x14                                          ; +0x32, 0x434d5e\nPOP             {R4-R7,PC}                                             ; +0x34, 0x434d60", "xrefs": ["LevelSelectLayer::init @ 0x40a024"], "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"}