{"type": "func", "start": 5371326240, "end": 5371326436, "name": "GJGroundLayer::updateShadowXPos", "pseudocode": "// \n// GJGroundLayer::updateShadowXPos from 0x14027ef20 to 0x14027efe4 (196 bytes)\n// \n// 9 xrefs:\n// > GJBaseGameLayer::updateGroundShadows @ 0x14020c436\n// > GJBaseGameLayer::updateGroundShadows @ 0x14020c454\n// > GJBaseGameLayer::preUpdateVisibility @ 0x1402365f9\n// > GJBaseGameLayer::preUpdateVisibility @ 0x140236617\n// > GJBaseGameLayer::resetLevelVariables @ 0x14023b712\n// > GJBaseGameLayer::resetLevelVariables @ 0x14023b730\n// > <???> @ 0x1406879e4\n// > <???> @ 0x1406879f4\n// > <???> @ 0x1406d1298\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  double v3; // xmm0_8\n  cocos2d::CCNode *v5; // rax\n  cocos2d::CCNode *v6; // rsi\n  cocos2d::CCNode_vtbl *v7; // rbx\n  const cocos2d::CCPoint *v8; // rax\n  cocos2d::CCNode *v9; // rax\n  cocos2d::CCNode *v10; // rdi\n  cocos2d::CCNode_vtbl *v11; // rbx\n  const cocos2d::CCPoint *v12; // rax\n\n  ((void (*)(void))a1->getScaleX)();\n  v5 = a1->getChildByTag(a1, 0);\n  v6 = v5;\n  if ( v5 )\n  {\n    v7 = v5->__vftable;\n    v3 = cocos2d::CCPoint::CCPoint(*(float *)&v3, a2 - 1.0);\n    v7->setPosition_0(v6, v8);\n  }\n  v9 = a1->getChildByTag(a1, 1);\n  v10 = v9;\n  if ( v9 )\n  {\n    v11 = v9->__vftable;\n    cocos2d::CCPoint::CCPoint(*(float *)&v3, a3 + 1.0);\n    v11->setPosition_0(v10, v12);\n  }\n}", "assembly": "; \n; GJGroundLayer::updateShadowXPos from 0x14027ef20 to 0x14027efe4 (196 bytes)\n; \n; 9 xrefs:\n; > GJBaseGameLayer::updateGroundShadows @ 0x14020c436\n; > GJBaseGameLayer::updateGroundShadows @ 0x14020c454\n; > GJBaseGameLayer::preUpdateVisibility @ 0x1402365f9\n; > GJBaseGameLayer::preUpdateVisibility @ 0x140236617\n; > GJBaseGameLayer::resetLevelVariables @ 0x14023b712\n; > GJBaseGameLayer::resetLevelVariables @ 0x14023b730\n; > <???> @ 0x1406879e4\n; > <???> @ 0x1406879f4\n; > <???> @ 0x1406d1298\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x14027ef20\npush    rdi                                                            ; +0x5, 0x14027ef25\nsub     rsp, 40h                                                       ; +0x6, 0x14027ef26\nmov     rax, [rcx]                                                     ; +0xa, 0x14027ef2a\nmov     rdi, rcx                                                       ; +0xd, 0x14027ef2d\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x10, 0x14027ef30\nmovaps  xmm6, xmm2                                                     ; +0x15, 0x14027ef35\nmov     [rsp+48h+arg_8], rsi                                           ; +0x18, 0x14027ef38\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x1d, 0x14027ef3d\nmovaps  xmm7, xmm1                                                     ; +0x22, 0x14027ef42\ncall    qword ptr [rax+80h]                                            ; +0x25, 0x14027ef45\nmov     rax, [rdi]                                                     ; +0x2b, 0x14027ef4b\nxor     edx, edx                                                       ; +0x2e, 0x14027ef4e\nmov     rcx, rdi                                                       ; +0x30, 0x14027ef50\ncall    qword ptr [rax+1C8h]                                           ; +0x33, 0x14027ef53\nmov     rsi, rax                                                       ; +0x39, 0x14027ef59\ntest    rax, rax                                                       ; +0x3c, 0x14027ef5c\njz      short loc_14027EF89                                            ; +0x3f, 0x14027ef5f\nsubss   xmm7, cs:flt_140622C24                                         ; +0x41, 0x14027ef61\nmov     rbx, [rax]                                                     ; +0x49, 0x14027ef69\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x4c, 0x14027ef6c\nxorps   xmm2, xmm2                                                     ; +0x51, 0x14027ef71\nmovaps  xmm1, xmm7                                                     ; +0x54, 0x14027ef74\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x57, 0x14027ef77\nmov     rdx, rax                                                       ; +0x5d, 0x14027ef7d\nmov     rcx, rsi                                                       ; +0x60, 0x14027ef80\ncall    qword ptr [rbx+0B8h]                                           ; +0x63, 0x14027ef83\nmov     rax, [rdi]                                                     ; +0x69, 0x14027ef89\nmov     edx, 1                                                         ; +0x6c, 0x14027ef8c\nmov     rcx, rdi                                                       ; +0x71, 0x14027ef91\ncall    qword ptr [rax+1C8h]                                           ; +0x74, 0x14027ef94\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x7a, 0x14027ef9a\nmov     rdi, rax                                                       ; +0x7f, 0x14027ef9f\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x82, 0x14027efa2\ntest    rax, rax                                                       ; +0x87, 0x14027efa7\njz      short loc_14027EFD4                                            ; +0x8a, 0x14027efaa\naddss   xmm6, cs:flt_140622C24                                         ; +0x8c, 0x14027efac\nmov     rbx, [rax]                                                     ; +0x94, 0x14027efb4\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x97, 0x14027efb7\nxorps   xmm2, xmm2                                                     ; +0x9c, 0x14027efbc\nmovaps  xmm1, xmm6                                                     ; +0x9f, 0x14027efbf\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xa2, 0x14027efc2\nmov     rdx, rax                                                       ; +0xa8, 0x14027efc8\nmov     rcx, rdi                                                       ; +0xab, 0x14027efcb\ncall    qword ptr [rbx+0B8h]                                           ; +0xae, 0x14027efce\nmov     rbx, [rsp+48h+arg_10]                                          ; +0xb4, 0x14027efd4\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xb9, 0x14027efd9\nadd     rsp, 40h                                                       ; +0xbe, 0x14027efde\npop     rdi                                                            ; +0xc2, 0x14027efe2\nretn                                                                   ; +0xc3, 0x14027efe3", "xrefs": ["GJBaseGameLayer::updateGroundShadows @ 0x14020c436", "GJBaseGameLayer::updateGroundShadows @ 0x14020c454", "GJBaseGameLayer::preUpdateVisibility @ 0x1402365f9", "GJBaseGameLayer::preUpdateVisibility @ 0x140236617", "GJBaseGameLayer::resetLevelVariables @ 0x14023b712", "GJBaseGameLayer::resetLevelVariables @ 0x14023b730", "<???> @ 0x1406879e4", "<???> @ 0x1406879f4", "<???> @ 0x1406d1298"], "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"}