{"type": "func", "start": 4298839008, "end": 4298839189, "name": "DialogLayer::finishCurrentAnimation", "pseudocode": "// \n// DialogLayer::finishCurrentAnimation from 0x1003b13e0 to 0x1003b1495 (181 bytes)\n// \n// 1 xrefs:\n// > DialogLayer::handleDialogTap @ 0x1003b1339\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:26 +0000\n// \n\n__int64 __fastcall DialogLayer::finishCurrentAnimation(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 v3; // rdi\n  const char *v4; // r14\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  __int64 v7; // rax\n\n  *(_BYTE *)(a1 + 616) = 0;\n  v2 = *(_QWORD *)(a1 + 576);\n  if ( v2 )\n  {\n    *(_QWORD *)(v2 + 696) = 0;\n    TextArea::stopAllCharacterActions(v2);\n    TextArea::showAll(*(_QWORD *)(a1 + 576));\n  }\n  cocos2d::CCNode::stopAllActions(*(_QWORD *)(a1 + 608));\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 608) + 912LL))(*(_QWORD *)(a1 + 608), 255);\n  v3 = *(_QWORD *)(a1 + 592);\n  if ( v3 )\n  {\n    v4 = \"GJ_chatBtn_01_001.png\";\n    if ( !(unsigned int)sub_1007FEF90(v3) )\n      v4 = \"GJ_chatBtn_02_001.png\";\n  }\n  else\n  {\n    v4 = \"GJ_chatBtn_02_001.png\";\n  }\n  v5 = *(_QWORD *)(a1 + 608);\n  v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v4);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 1160LL))(v5, v7);\n}", "assembly": "; \n; DialogLayer::finishCurrentAnimation from 0x1003b13e0 to 0x1003b1495 (181 bytes)\n; \n; 1 xrefs:\n; > DialogLayer::handleDialogTap @ 0x1003b1339\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:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003b13e0\nmov     rbp, rsp                                                       ; +0x1, 0x1003b13e1\npush    r14                                                            ; +0x4, 0x1003b13e4\npush    rbx                                                            ; +0x6, 0x1003b13e6\nmov     rbx, rdi                                                       ; +0x7, 0x1003b13e7\nmov     byte ptr [rdi+268h], 0                                         ; +0xa, 0x1003b13ea\nmov     rdi, [rdi+240h]                                                ; +0x11, 0x1003b13f1\ntest    rdi, rdi                                                       ; +0x18, 0x1003b13f8\njz      short loc_1003B1419                                            ; +0x1b, 0x1003b13fb\nmov     qword ptr [rdi+2B8h], 0                                        ; +0x1d, 0x1003b13fd\ncall    TextArea__stopAllCharacterActions                              ; +0x28, 0x1003b1408\nmov     rdi, [rbx+240h]                                                ; +0x2d, 0x1003b140d\ncall    TextArea__showAll                                              ; +0x34, 0x1003b1414\nmov     rdi, [rbx+260h]                                                ; +0x39, 0x1003b1419\ncall    cocos2d__CCNode__stopAllActions                                ; +0x40, 0x1003b1420\nmov     rdi, [rbx+260h]                                                ; +0x45, 0x1003b1425\nmov     rax, [rdi]                                                     ; +0x4c, 0x1003b142c\nmov     esi, 0FFh                                                      ; +0x4f, 0x1003b142f\ncall    qword ptr [rax+390h]                                           ; +0x54, 0x1003b1434\nmov     rdi, [rbx+250h]                                                ; +0x5a, 0x1003b143a\ntest    rdi, rdi                                                       ; +0x61, 0x1003b1441\njz      short loc_1003B1461                                            ; +0x64, 0x1003b1444\ncall    sub_1007FEF90                                                  ; +0x66, 0x1003b1446\ntest    eax, eax                                                       ; +0x6b, 0x1003b144b\nlea     rax, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"                  ; +0x6d, 0x1003b144d\nlea     r14, aGjChatbtn01001; \"GJ_chatBtn_01_001.png\"                  ; +0x74, 0x1003b1454\ncmovz   r14, rax                                                       ; +0x7b, 0x1003b145b\njmp     short loc_1003B1468                                            ; +0x7f, 0x1003b145f\nlea     r14, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"                  ; +0x81, 0x1003b1461\nmov     rbx, [rbx+260h]                                                ; +0x88, 0x1003b1468\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x8f, 0x1003b146f\nmov     rdi, rax                                                       ; +0x94, 0x1003b1474\nmov     rsi, r14                                                       ; +0x97, 0x1003b1477\ncall    cocos2d__CCSpriteFrameCache__spriteFrameByName                 ; +0x9a, 0x1003b147a\nmov     rcx, [rbx]                                                     ; +0x9f, 0x1003b147f\nmov     rcx, [rcx+488h]                                                ; +0xa2, 0x1003b1482\nmov     rdi, rbx                                                       ; +0xa9, 0x1003b1489\nmov     rsi, rax                                                       ; +0xac, 0x1003b148c\npop     rbx                                                            ; +0xaf, 0x1003b148f\npop     r14                                                            ; +0xb0, 0x1003b1490\npop     rbp                                                            ; +0xb2, 0x1003b1492\njmp     rcx                                                            ; +0xb3, 0x1003b1493", "xrefs": ["DialogLayer::handleDialogTap @ 0x1003b1339"], "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"}