{"type": "func", "start": 8308524, "end": 8308780, "name": "GJGroundLayer::updateShadowXPos", "pseudocode": "// \n// GJGroundLayer::updateShadowXPos from 0x7ec72c to 0x7ec82c (256 bytes)\n// \n// 7 xrefs:\n// > GJBaseGameLayer::updateGroundShadows @ 0x857b14\n// > GJBaseGameLayer::updateGroundShadows @ 0x857b2c\n// > GJBaseGameLayer::preUpdateVisibility @ 0x882ce0\n// > GJBaseGameLayer::preUpdateVisibility @ 0x882cf8\n// > GJBaseGameLayer::resetLevelVariables @ 0x88af3c\n// > GJBaseGameLayer::resetLevelVariables @ 0x88af54\n// > <???> @ 0xc4e30\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::updateShadowXPos(GJGroundLayer *a1, float a2, float a3)\n{\n  cocos2d::CCNode *v6; // x0\n  cocos2d::CCNode *v7; // x21\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22\n  cocos2d::CCNode *v9; // x0\n  cocos2d::CCNode *v10; // x19\n  void (__fastcall *v11)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21\n  cocos2d::CCPoint v12; // [xsp+50h] [xbp+50h] BYREF\n\n  a1->getScaleX(a1);\n  v6 = a1->getChildByTag(a1, 0);\n  v7 = v6;\n  if ( v6 )\n  {\n    setPosition = v6->setPosition;\n    cocos2d::CCPoint::CCPoint(&v12, a2 - 1.0, 0.0);\n    setPosition(v7, &v12);\n  }\n  v9 = a1->getChildByTag(a1, 1);\n  v10 = v9;\n  if ( v9 )\n  {\n    v11 = v9->setPosition;\n    cocos2d::CCPoint::CCPoint(&v12, a3 + 1.0, 0.0);\n    v11(v10, &v12);\n  }\n}", "assembly": "; \n; GJGroundLayer::updateShadowXPos from 0x7ec72c to 0x7ec82c (256 bytes)\n; \n; 7 xrefs:\n; > GJBaseGameLayer::updateGroundShadows @ 0x857b14\n; > GJBaseGameLayer::updateGroundShadows @ 0x857b2c\n; > GJBaseGameLayer::preUpdateVisibility @ 0x882ce0\n; > GJBaseGameLayer::preUpdateVisibility @ 0x882cf8\n; > GJBaseGameLayer::resetLevelVariables @ 0x88af3c\n; > GJBaseGameLayer::resetLevelVariables @ 0x88af54\n; > <???> @ 0xc4e30\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_60]!                                ; +0x0, 0x7ec72c\nMOV             X29, SP                                                ; +0x4, 0x7ec730\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x7ec734\nSTP             D8, D9, [SP,#0x60+var_30]                              ; +0xc, 0x7ec738\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x7ec73c\nLDR             X1, [X0]                                               ; +0x14, 0x7ec740\nFMOV            S8, S1                                                 ; +0x18, 0x7ec744\nMOV             X19, X0                                                ; +0x1c, 0x7ec748\nFMOV            S9, S0                                                 ; +0x20, 0x7ec74c\nLDR             X2, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x7ec750\nLDR             X1, [X1,#0x88]                                         ; +0x28, 0x7ec754\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x2c, 0x7ec758\nLDR             X2, [X2]                                               ; +0x30, 0x7ec75c\nSTR             X2, [X29,#0x60+var_8]                                  ; +0x34, 0x7ec760\nBLR             X1                                                     ; +0x38, 0x7ec764\nLDR             X2, [X19]                                              ; +0x3c, 0x7ec768\nMOV             X0, X19                                                ; +0x40, 0x7ec76c\nMOV             W1, #0                                                 ; +0x44, 0x7ec770\nLDR             X2, [X2,#0x1D0]                                        ; +0x48, 0x7ec774\nBLR             X2                                                     ; +0x4c, 0x7ec778\nMOV             X21, X0                                                ; +0x50, 0x7ec77c\nCBZ             X0, loc_7EC7B4                                         ; +0x54, 0x7ec780\nFMOV            S0, #1.0                                               ; +0x58, 0x7ec784\nADD             X1, X29, #0x60+var_10                                  ; +0x5c, 0x7ec788\nFMOV            S1, WZR; float                                         ; +0x60, 0x7ec78c\nLDR             X2, [X0]                                               ; +0x64, 0x7ec790\nFSUB            S0, S9, S0; float                                      ; +0x68, 0x7ec794\nMOV             X0, X1; this                                           ; +0x6c, 0x7ec798\nSTR             X1, [X29,#0x60+var_18]                                 ; +0x70, 0x7ec79c\nLDR             X22, [X2,#0xB8]                                        ; +0x74, 0x7ec7a0\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x78, 0x7ec7a4\nLDR             X1, [X29,#0x60+var_18]                                 ; +0x7c, 0x7ec7a8\nMOV             X0, X21                                                ; +0x80, 0x7ec7ac\nBLR             X22                                                    ; +0x84, 0x7ec7b0\nLDR             X2, [X19]                                              ; +0x88, 0x7ec7b4\nMOV             X0, X19                                                ; +0x8c, 0x7ec7b8\nMOV             W1, #1                                                 ; +0x90, 0x7ec7bc\nLDR             X2, [X2,#0x1D0]                                        ; +0x94, 0x7ec7c0\nBLR             X2                                                     ; +0x98, 0x7ec7c4\nMOV             X19, X0                                                ; +0x9c, 0x7ec7c8\nCBZ             X0, loc_7EC800                                         ; +0xa0, 0x7ec7cc\nFMOV            S0, #1.0                                               ; +0xa4, 0x7ec7d0\nADD             X1, X29, #0x60+var_10                                  ; +0xa8, 0x7ec7d4\nFMOV            S1, WZR; float                                         ; +0xac, 0x7ec7d8\nLDR             X2, [X0]                                               ; +0xb0, 0x7ec7dc\nFADD            S0, S8, S0; float                                      ; +0xb4, 0x7ec7e0\nMOV             X0, X1; this                                           ; +0xb8, 0x7ec7e4\nSTR             X1, [X29,#0x60+var_18]                                 ; +0xbc, 0x7ec7e8\nLDR             X21, [X2,#0xB8]                                        ; +0xc0, 0x7ec7ec\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xc4, 0x7ec7f0\nLDR             X1, [X29,#0x60+var_18]                                 ; +0xc8, 0x7ec7f4\nMOV             X0, X19                                                ; +0xcc, 0x7ec7f8\nBLR             X21                                                    ; +0xd0, 0x7ec7fc\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xd4, 0x7ec800\nLDR             X1, [X29,#0x60+var_8]                                  ; +0xd8, 0x7ec804\nLDR             X0, [X20]                                              ; +0xdc, 0x7ec808\nCMP             X1, X0                                                 ; +0xe0, 0x7ec80c\nB.NE            loc_7EC828                                             ; +0xe4, 0x7ec810\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0xe8, 0x7ec814\nLDP             D8, D9, [SP,#0x60+var_30]                              ; +0xec, 0x7ec818\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0xf0, 0x7ec81c\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0xf4, 0x7ec820\nRET                                                                    ; +0xf8, 0x7ec824\nBL              .__stack_chk_fail                                      ; +0xfc, 0x7ec828", "xrefs": ["GJBaseGameLayer::updateGroundShadows @ 0x857b14", "GJBaseGameLayer::updateGroundShadows @ 0x857b2c", "GJBaseGameLayer::preUpdateVisibility @ 0x882ce0", "GJBaseGameLayer::preUpdateVisibility @ 0x882cf8", "GJBaseGameLayer::resetLevelVariables @ 0x88af3c", "GJBaseGameLayer::resetLevelVariables @ 0x88af54", "<???> @ 0xc4e30"], "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"}