{"type": "func", "start": 4298837200, "end": 4298837366, "name": "DialogLayer::displayNextObject", "pseudocode": "// \n// DialogLayer::displayNextObject from 0x1003b0cd0 to 0x1003b0d76 (166 bytes)\n// \n// 2 xrefs:\n// > DialogLayer::init @ 0x1003b0c19\n// > DialogLayer::handleDialogTap @ 0x1003b135d\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 12:29:25 +0000\n// \n\n__int64 __fastcall DialogLayer::displayNextObject(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rax\n  __int64 v4; // rdi\n  const char *v5; // r14\n  __int64 v6; // rbx\n  __int64 v7; // rax\n  __int64 v8; // rax\n\n  result = sub_1007FEF90(*(_QWORD *)(a1 + 592));\n  if ( (_DWORD)result )\n  {\n    v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 592), 0);\n    DialogLayer::displayDialogObject(a1, v3);\n    sub_1007FF150(*(_QWORD *)(a1 + 592), 0, 1);\n    v4 = *(_QWORD *)(a1 + 592);\n    if ( v4 )\n    {\n      v5 = \"GJ_chatBtn_01_001.png\";\n      if ( !(unsigned int)sub_1007FEF90(v4) )\n        v5 = \"GJ_chatBtn_02_001.png\";\n    }\n    else\n    {\n      v5 = \"GJ_chatBtn_02_001.png\";\n    }\n    v6 = *(_QWORD *)(a1 + 608);\n    v7 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n    v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, v5);\n    return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 1160LL))(v6, v8);\n  }\n  return result;\n}", "assembly": "; \n; DialogLayer::displayNextObject from 0x1003b0cd0 to 0x1003b0d76 (166 bytes)\n; \n; 2 xrefs:\n; > DialogLayer::init @ 0x1003b0c19\n; > DialogLayer::handleDialogTap @ 0x1003b135d\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 12:29:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003b0cd0\nmov     rbp, rsp                                                       ; +0x1, 0x1003b0cd1\npush    r14                                                            ; +0x4, 0x1003b0cd4\npush    rbx                                                            ; +0x6, 0x1003b0cd6\nmov     rbx, rdi                                                       ; +0x7, 0x1003b0cd7\nmov     rdi, [rdi+250h]                                                ; +0xa, 0x1003b0cda\ncall    sub_1007FEF90                                                  ; +0x11, 0x1003b0ce1\ntest    eax, eax                                                       ; +0x16, 0x1003b0ce6\njz      short loc_1003B0D3D                                            ; +0x18, 0x1003b0ce8\nmov     rdi, [rbx+250h]                                                ; +0x1a, 0x1003b0cea\nxor     esi, esi                                                       ; +0x21, 0x1003b0cf1\ncall    sub_1007FEFE0                                                  ; +0x23, 0x1003b0cf3\nmov     rdi, rbx                                                       ; +0x28, 0x1003b0cf8\nmov     rsi, rax                                                       ; +0x2b, 0x1003b0cfb\ncall    DialogLayer__displayDialogObject                               ; +0x2e, 0x1003b0cfe\nmov     rdi, [rbx+250h]                                                ; +0x33, 0x1003b0d03\nxor     esi, esi                                                       ; +0x3a, 0x1003b0d0a\nmov     edx, 1                                                         ; +0x3c, 0x1003b0d0c\ncall    sub_1007FF150                                                  ; +0x41, 0x1003b0d11\nmov     rdi, [rbx+250h]                                                ; +0x46, 0x1003b0d16\ntest    rdi, rdi                                                       ; +0x4d, 0x1003b0d1d\njz      short loc_1003B0D42                                            ; +0x50, 0x1003b0d20\ncall    sub_1007FEF90                                                  ; +0x52, 0x1003b0d22\ntest    eax, eax                                                       ; +0x57, 0x1003b0d27\nlea     rax, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"                  ; +0x59, 0x1003b0d29\nlea     r14, aGjChatbtn01001; \"GJ_chatBtn_01_001.png\"                  ; +0x60, 0x1003b0d30\ncmovz   r14, rax                                                       ; +0x67, 0x1003b0d37\njmp     short loc_1003B0D49                                            ; +0x6b, 0x1003b0d3b\npop     rbx                                                            ; +0x6d, 0x1003b0d3d\npop     r14                                                            ; +0x6e, 0x1003b0d3e\npop     rbp                                                            ; +0x70, 0x1003b0d40\nretn                                                                   ; +0x71, 0x1003b0d41\nlea     r14, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"                  ; +0x72, 0x1003b0d42\nmov     rbx, [rbx+260h]                                                ; +0x79, 0x1003b0d49\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x80, 0x1003b0d50\nmov     rdi, rax                                                       ; +0x85, 0x1003b0d55\nmov     rsi, r14                                                       ; +0x88, 0x1003b0d58\ncall    cocos2d__CCSpriteFrameCache__spriteFrameByName                 ; +0x8b, 0x1003b0d5b\nmov     rcx, [rbx]                                                     ; +0x90, 0x1003b0d60\nmov     rcx, [rcx+488h]                                                ; +0x93, 0x1003b0d63\nmov     rdi, rbx                                                       ; +0x9a, 0x1003b0d6a\nmov     rsi, rax                                                       ; +0x9d, 0x1003b0d6d\npop     rbx                                                            ; +0xa0, 0x1003b0d70\npop     r14                                                            ; +0xa1, 0x1003b0d71\npop     rbp                                                            ; +0xa3, 0x1003b0d73\njmp     rcx                                                            ; +0xa4, 0x1003b0d74", "xrefs": ["DialogLayer::init @ 0x1003b0c19", "DialogLayer::handleDialogTap @ 0x1003b135d"], "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"}