{"type": "func", "start": 4298264288, "end": 4298264484, "name": "GJShopLayer::exitVideoAdItems", "pseudocode": "// \n// GJShopLayer::exitVideoAdItems from 0x100324ee0 to 0x100324fa4 (196 bytes)\n// \n// 0 xrefs:\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 GJShopLayer::exitVideoAdItems(GJShopLayer *a1)\n{\n  cocos2d::CCNode *m_unkNode1; // rdi\n  AnimatedShopKeeper *m_shopKeeper; // rbx\n  unsigned __int64 *v4; // r14\n  double v5; // [rsp+0h] [rbp-30h] BYREF\n  unsigned __int64 v6[5]; // [rsp+8h] [rbp-28h] BYREF\n\n  m_unkNode1 = a1->m_unkNode1;\n  if ( m_unkNode1 )\n  {\n    if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCNode *))m_unkNode1->isVisible)(m_unkNode1) )\n    {\n      ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a1->m_unkNode1->setVisible)(a1->m_unkNode1, 0);\n      ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a1->m_unkNode1->__vftable[1].setScale)(a1->m_unkNode1, 0);\n      ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a1->m_unkNode2->setVisible)(a1->m_unkNode2, 0);\n      m_shopKeeper = a1->m_shopKeeper;\n      v4 = (unsigned __int64 *)((__int64 (__fastcall *)(AnimatedShopKeeper *))m_shopKeeper->getPosition)(m_shopKeeper);\n      sub_10028CBE0((float *)v6, -50.0, 0.0);\n      sub_10028CCE0(&v5, v4, v6);\n      ((void (__fastcall *)(AnimatedShopKeeper *, double *))m_shopKeeper->setPosition)(m_shopKeeper, &v5);\n    }\n  }\n}", "assembly": "; \n; GJShopLayer::exitVideoAdItems from 0x100324ee0 to 0x100324fa4 (196 bytes)\n; \n; 0 xrefs:\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, 0x100324ee0\nmov     rbp, rsp                                                       ; +0x1, 0x100324ee1\npush    r15                                                            ; +0x4, 0x100324ee4\npush    r14                                                            ; +0x6, 0x100324ee6\npush    r12                                                            ; +0x8, 0x100324ee8\npush    rbx                                                            ; +0xa, 0x100324eea\nsub     rsp, 10h                                                       ; +0xb, 0x100324eeb\nmov     rbx, rdi                                                       ; +0xf, 0x100324eef\nmov     rdi, [rdi+1E8h]                                                ; +0x12, 0x100324ef2\ntest    rdi, rdi                                                       ; +0x19, 0x100324ef9\njz      loc_100324F97                                                  ; +0x1c, 0x100324efc\nmov     rax, [rdi]                                                     ; +0x22, 0x100324f02\ncall    qword ptr [rax+150h]                                           ; +0x25, 0x100324f05\ntest    al, al                                                         ; +0x2b, 0x100324f0b\njz      loc_100324F97                                                  ; +0x2d, 0x100324f0d\nmov     rdi, [rbx+1E8h]                                                ; +0x33, 0x100324f13\nmov     rax, [rdi]                                                     ; +0x3a, 0x100324f1a\nxor     esi, esi                                                       ; +0x3d, 0x100324f1d\ncall    qword ptr [rax+148h]                                           ; +0x3f, 0x100324f1f\nmov     rdi, [rbx+1E8h]                                                ; +0x45, 0x100324f25\nmov     rax, [rdi]                                                     ; +0x4c, 0x100324f2c\nxor     esi, esi                                                       ; +0x4f, 0x100324f2f\ncall    qword ptr [rax+410h]                                           ; +0x51, 0x100324f31\nmov     rdi, [rbx+1F0h]                                                ; +0x57, 0x100324f37\nmov     rax, [rdi]                                                     ; +0x5e, 0x100324f3e\nxor     esi, esi                                                       ; +0x61, 0x100324f41\ncall    qword ptr [rax+148h]                                           ; +0x63, 0x100324f43\nmov     rbx, [rbx+200h]                                                ; +0x69, 0x100324f49\nmov     rax, [rbx]                                                     ; +0x70, 0x100324f50\nmov     rdi, rbx                                                       ; +0x73, 0x100324f53\ncall    qword ptr [rax+0C0h]                                           ; +0x76, 0x100324f56\nmov     r14, rax                                                       ; +0x7c, 0x100324f5c\nlea     r15, [rbp+var_28]                                              ; +0x7f, 0x100324f5f\nmovss   xmm0, cs:dword_100814FC0                                       ; +0x83, 0x100324f63\nxorps   xmm1, xmm1                                                     ; +0x8b, 0x100324f6b\nmov     rdi, r15                                                       ; +0x8e, 0x100324f6e\ncall    sub_10028CBE0                                                  ; +0x91, 0x100324f71\nlea     r12, [rbp+var_30]                                              ; +0x96, 0x100324f76\nmov     rdi, r12                                                       ; +0x9a, 0x100324f7a\nmov     rsi, r14                                                       ; +0x9d, 0x100324f7d\nmov     rdx, r15                                                       ; +0xa0, 0x100324f80\ncall    sub_10028CCE0                                                  ; +0xa3, 0x100324f83\nmov     rax, [rbx]                                                     ; +0xa8, 0x100324f88\nmov     rdi, rbx                                                       ; +0xab, 0x100324f8b\nmov     rsi, r12                                                       ; +0xae, 0x100324f8e\ncall    qword ptr [rax+0B8h]                                           ; +0xb1, 0x100324f91\nadd     rsp, 10h                                                       ; +0xb7, 0x100324f97\npop     rbx                                                            ; +0xbb, 0x100324f9b\npop     r12                                                            ; +0xbc, 0x100324f9c\npop     r14                                                            ; +0xbe, 0x100324f9e\npop     r15                                                            ; +0xc0, 0x100324fa0\npop     rbp                                                            ; +0xc2, 0x100324fa2\nretn                                                                   ; +0xc3, 0x100324fa3", "xrefs": [], "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"}