{"type": "func", "start": 4298838384, "end": 4298838485, "name": "DialogLayer::updateNavButtonFrame", "pseudocode": "// \n// DialogLayer::updateNavButtonFrame from 0x1003b1170 to 0x1003b11d5 (101 bytes)\n// \n// 0 xrefs:\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::updateNavButtonFrame(__int64 a1)\n{\n  __int64 v2; // rdi\n  const char *v3; // r14\n  __int64 v4; // rbx\n  __int64 v5; // rax\n  __int64 v6; // rax\n\n  v2 = *(_QWORD *)(a1 + 592);\n  if ( v2 )\n  {\n    v3 = \"GJ_chatBtn_01_001.png\";\n    if ( !(unsigned int)sub_1007FEF90(v2) )\n      v3 = \"GJ_chatBtn_02_001.png\";\n  }\n  else\n  {\n    v3 = \"GJ_chatBtn_02_001.png\";\n  }\n  v4 = *(_QWORD *)(a1 + 608);\n  v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v3);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v6);\n}", "assembly": "; \n; DialogLayer::updateNavButtonFrame from 0x1003b1170 to 0x1003b11d5 (101 bytes)\n; \n; 0 xrefs:\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, 0x1003b1170\nmov     rbp, rsp                                                       ; +0x1, 0x1003b1171\npush    r14                                                            ; +0x4, 0x1003b1174\npush    rbx                                                            ; +0x6, 0x1003b1176\nmov     rbx, rdi                                                       ; +0x7, 0x1003b1177\nmov     rdi, [rdi+250h]                                                ; +0xa, 0x1003b117a\ntest    rdi, rdi                                                       ; +0x11, 0x1003b1181\njz      short loc_1003B11A1                                            ; +0x14, 0x1003b1184\ncall    sub_1007FEF90                                                  ; +0x16, 0x1003b1186\ntest    eax, eax                                                       ; +0x1b, 0x1003b118b\nlea     rax, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"                  ; +0x1d, 0x1003b118d\nlea     r14, aGjChatbtn01001; \"GJ_chatBtn_01_001.png\"                  ; +0x24, 0x1003b1194\ncmovz   r14, rax                                                       ; +0x2b, 0x1003b119b\njmp     short loc_1003B11A8                                            ; +0x2f, 0x1003b119f\nlea     r14, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"                  ; +0x31, 0x1003b11a1\nmov     rbx, [rbx+260h]                                                ; +0x38, 0x1003b11a8\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x3f, 0x1003b11af\nmov     rdi, rax                                                       ; +0x44, 0x1003b11b4\nmov     rsi, r14                                                       ; +0x47, 0x1003b11b7\ncall    cocos2d__CCSpriteFrameCache__spriteFrameByName                 ; +0x4a, 0x1003b11ba\nmov     rcx, [rbx]                                                     ; +0x4f, 0x1003b11bf\nmov     rcx, [rcx+488h]                                                ; +0x52, 0x1003b11c2\nmov     rdi, rbx                                                       ; +0x59, 0x1003b11c9\nmov     rsi, rax                                                       ; +0x5c, 0x1003b11cc\npop     rbx                                                            ; +0x5f, 0x1003b11cf\npop     r14                                                            ; +0x60, 0x1003b11d0\npop     rbp                                                            ; +0x62, 0x1003b11d2\njmp     rcx                                                            ; +0x63, 0x1003b11d3", "xrefs": [], "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"}