{"type": "func", "start": 5372708544, "end": 5372708734, "name": "InfoLayer::onOriginal", "pseudocode": "// \n// InfoLayer::onOriginal from 0x1403d06c0 to 0x1403d077e (190 bytes)\n// \n// 2 xrefs:\n// > InfoLayer::init @ 0x1403cecde\n// > <???> @ 0x1409246c8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:35 +0000\n// \n\n__int64 __fastcall InfoLayer::onOriginal(__int64 a1)\n{\n  cocos2d::CCString *v2; // rax\n  const char *CString; // rax\n  size_t v4; // r8\n  __int64 v5; // rax\n  struct cocos2d::CCScene *v6; // rax\n  struct cocos2d::CCScene *v7; // rbx\n  __int64 v8; // rcx\n  cocos2d::CCDirector *v9; // rax\n  __int128 v11; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v12; // [rsp+30h] [rbp-18h]\n  __int64 v13; // [rsp+38h] [rbp-10h]\n\n  v2 = cocos2d::CCString::createWithFormat(\n         (const char *)&word_1406ED6F8,\n         (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 696) + 1060LL) - *(_DWORD *)(*(_QWORD *)(a1 + 696) + 1064LL)));\n  CString = cocos2d::CCString::getCString(v2);\n  v11 = 0;\n  v12 = 0;\n  v4 = -1;\n  v13 = 0;\n  do\n    ++v4;\n  while ( CString[v4] );\n  sub_14003D230(&v11, CString, v4);\n  v5 = GJSearchObject::create_1(0, (__int64)&v11);\n  v6 = (struct cocos2d::CCScene *)LevelBrowserLayer::scene(v5);\n  v7 = cocos2d::CCTransitionFade::create(0.5, v6);\n  v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8);\n  cocos2d::CCDirector::replaceScene(v9, v7);\n  return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 1040LL))(*(_QWORD *)(a1 + 552), 0);\n}", "assembly": "; \n; InfoLayer::onOriginal from 0x1403d06c0 to 0x1403d077e (190 bytes)\n; \n; 2 xrefs:\n; > InfoLayer::init @ 0x1403cecde\n; > <???> @ 0x1409246c8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:35 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403d06c0\npush    rdi                                                            ; +0x5, 0x1403d06c5\nsub     rsp, 40h                                                       ; +0x6, 0x1403d06c6\nmov     rax, [rcx+2B8h]                                                ; +0xa, 0x1403d06ca\nmov     rdi, rcx                                                       ; +0x11, 0x1403d06d1\nlea     rcx, word_1406ED6F8                                            ; +0x14, 0x1403d06d4\nmov     edx, [rax+424h]                                                ; +0x1b, 0x1403d06db\nsub     edx, [rax+428h]                                                ; +0x21, 0x1403d06e1\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x27, 0x1403d06e7\nmov     rcx, rax                                                       ; +0x2d, 0x1403d06ed\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x30, 0x1403d06f0\nxor     ecx, ecx                                                       ; +0x36, 0x1403d06f6\nxorps   xmm0, xmm0                                                     ; +0x38, 0x1403d06f8\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x3b, 0x1403d06fb\nmov     [rsp+48h+var_18], rcx                                          ; +0x40, 0x1403d0700\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x45, 0x1403d0705\nmov     [rsp+48h+var_10], rcx                                          ; +0x4c, 0x1403d070c\ninc     r8                                                             ; +0x51, 0x1403d0711\ncmp     [rax+r8], cl                                                   ; +0x54, 0x1403d0714\njnz     short loc_1403D0711                                            ; +0x58, 0x1403d0718\nmov     rdx, rax                                                       ; +0x5a, 0x1403d071a\nlea     rcx, [rsp+48h+var_28]                                          ; +0x5d, 0x1403d071d\ncall    sub_14003D230                                                  ; +0x62, 0x1403d0722\nlea     rdx, [rsp+48h+var_28]                                          ; +0x67, 0x1403d0727\nxor     ecx, ecx                                                       ; +0x6c, 0x1403d072c\ncall    GJSearchObject__create_1                                       ; +0x6e, 0x1403d072e\nmov     rcx, rax                                                       ; +0x73, 0x1403d0733\ncall    LevelBrowserLayer__scene                                       ; +0x76, 0x1403d0736\nmovss   xmm0, cs:dword_140834F20                                       ; +0x7b, 0x1403d073b\nmov     rdx, rax                                                       ; +0x83, 0x1403d0743\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x86, 0x1403d0746\nmov     rbx, rax                                                       ; +0x8c, 0x1403d074c\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x8f, 0x1403d074f\nmov     rcx, rax                                                       ; +0x95, 0x1403d0755\nmov     rdx, rbx                                                       ; +0x98, 0x1403d0758\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x9b, 0x1403d075b\nmov     rcx, [rdi+228h]                                                ; +0xa1, 0x1403d0761\nxor     edx, edx                                                       ; +0xa8, 0x1403d0768\nmov     rax, [rcx]                                                     ; +0xaa, 0x1403d076a\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xad, 0x1403d076d\nadd     rsp, 40h                                                       ; +0xb2, 0x1403d0772\npop     rdi                                                            ; +0xb6, 0x1403d0776\njmp     qword ptr [rax+410h]                                           ; +0xb7, 0x1403d0777", "xrefs": ["InfoLayer::init @ 0x1403cecde", "<???> @ 0x1409246c8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}