{"type": "func", "start": 6443239360, "end": 6443239652, "name": "cocos2d::CCConfiguration::getBool", "pseudocode": "// \n// cocos2d::CCConfiguration::getBool from 0x1800c07c0 to 0x1800c08e4 (292 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCDirector::setDefaultValues @ 0x1800c2cf5\n// > cocos2d::CCDirector::setDefaultValues @ 0x1800c2de4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3360\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:22:25 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar __fastcall cocos2d::CCConfiguration::getBool(cocos2d::CCConfiguration *this, char *a2, char a3)\n{\n  __int64 v5; // rdi\n  void *v6; // r8\n  __int64 v7; // rax\n  cocos2d::CCString *v9; // rax\n  void *Block[2]; // [rsp+30h] [rbp-38h] BYREF\n  __m128i si128; // [rsp+40h] [rbp-28h]\n\n  sub_180005A10(Block, a2);\n  v5 = cocos2d::CCDictionary::objectForKey(*((_QWORD *)this + 11), (__int64)Block);\n  if ( si128.m128i_i64[1] > 0xFuLL )\n  {\n    v6 = Block[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v6 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v6);\n  }\n  si128 = _mm_load_si128((const __m128i *)&xmmword_1800EC500);\n  LOBYTE(Block[0]) = 0;\n  if ( !v5 )\n    return a3;\n  v7 = _RTDynamicCast(v5, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCBool `RTTI Type Descriptor', 0);\n  if ( v7 )\n    return *(_BYTE *)(v7 + 56);\n  v9 = (cocos2d::CCString *)_RTDynamicCast(\n                              v5,\n                              0,\n                              &cocos2d::CCObject `RTTI Type Descriptor',\n                              &cocos2d::CCString `RTTI Type Descriptor',\n                              0);\n  if ( v9 )\n    return cocos2d::CCString::boolValue(v9);\n  else\n    return a3;\n}", "assembly": "; \n; cocos2d::CCConfiguration::getBool from 0x1800c07c0 to 0x1800c08e4 (292 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCDirector::setDefaultValues @ 0x1800c2cf5\n; > cocos2d::CCDirector::setDefaultValues @ 0x1800c2de4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3360\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:22:25 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1800c07c0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800c07c5\npush    rdi                                                            ; +0xa, 0x1800c07ca\nsub     rsp, 60h                                                       ; +0xb, 0x1800c07cb\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x1800c07cf\nxor     rax, rsp                                                       ; +0x16, 0x1800c07d6\nmov     [rsp+68h+var_18], rax                                          ; +0x19, 0x1800c07d9\nmovzx   esi, r8b                                                       ; +0x1e, 0x1800c07de\nmov     rbx, rcx                                                       ; +0x22, 0x1800c07e2\nlea     rcx, [rsp+68h+Block]; void *                                   ; +0x25, 0x1800c07e5\ncall    sub_180005A10                                                  ; +0x2a, 0x1800c07ea\nnop                                                                    ; +0x2f, 0x1800c07ef\nlea     rdx, [rsp+68h+Block]                                           ; +0x30, 0x1800c07f0\nmov     rcx, [rbx+58h]                                                 ; +0x35, 0x1800c07f5\ncall    ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x39, 0x1800c07f9\nmov     rdi, rax                                                       ; +0x3e, 0x1800c07fe\nmov     rdx, [rsp+68h+var_20]                                          ; +0x41, 0x1800c0801\ncmp     rdx, 0Fh                                                       ; +0x46, 0x1800c0806\njbe     short loc_1800C0855                                            ; +0x4a, 0x1800c080a\ninc     rdx                                                            ; +0x4c, 0x1800c080c\nmov     r8, [rsp+68h+Block]                                            ; +0x4f, 0x1800c080f\nmov     rcx, r8                                                        ; +0x54, 0x1800c0814\ncmp     rdx, 1000h                                                     ; +0x57, 0x1800c0817\njb      short loc_1800C084D                                            ; +0x5e, 0x1800c081e\nadd     rdx, 27h ; '''                                                 ; +0x60, 0x1800c0820\nmov     r8, [r8-8]                                                     ; +0x64, 0x1800c0824\nsub     rcx, r8                                                        ; +0x68, 0x1800c0828\nsub     rcx, 8                                                         ; +0x6b, 0x1800c082b\ncmp     rcx, 1Fh                                                       ; +0x6f, 0x1800c082f\njbe     short loc_1800C084D                                            ; +0x73, 0x1800c0833\nxor     ebx, ebx                                                       ; +0x75, 0x1800c0835\nmov     [rsp+68h+Reserved], rbx; Reserved                              ; +0x77, 0x1800c0837\nxor     r9d, r9d; LineNo                                               ; +0x7c, 0x1800c083c\nxor     r8d, r8d; FileName                                             ; +0x7f, 0x1800c083f\nxor     edx, edx; FunctionName                                         ; +0x82, 0x1800c0842\nxor     ecx, ecx; Expression                                           ; +0x84, 0x1800c0844\ncall    cs:_invoke_watson                                              ; +0x86, 0x1800c0846\ndb 0CCh                                                                ; +0x8c, 0x1800c084c\nmov     rcx, r8; Block                                                 ; +0x8d, 0x1800c084d\ncall    j_j_free_0                                                     ; +0x90, 0x1800c0850\nmovdqa  xmm0, cs:xmmword_1800EC500                                     ; +0x95, 0x1800c0855\nmovdqu  xmmword ptr [rsp+40h], xmm0                                    ; +0x9d, 0x1800c085d\nmov     byte ptr [rsp+68h+Block], 0                                    ; +0xa3, 0x1800c0863\ntest    rdi, rdi                                                       ; +0xa8, 0x1800c0868\njz      short loc_1800C08C1                                            ; +0xab, 0x1800c086b\nxor     ebx, ebx                                                       ; +0xad, 0x1800c086d\nmov     dword ptr [rsp+68h+Reserved], ebx                              ; +0xaf, 0x1800c086f\nlea     r9, ??_R0?AVCCBool@cocos2d@@@8; cocos2d::CCBool `RTTI Type Descriptor' ; +0xb3, 0x1800c0873\nlea     r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0xba, 0x1800c087a\nxor     edx, edx                                                       ; +0xc1, 0x1800c0881\nmov     rcx, rdi                                                       ; +0xc3, 0x1800c0883\ncall    __RTDynamicCast                                                ; +0xc6, 0x1800c0886\ntest    rax, rax                                                       ; +0xcb, 0x1800c088b\njz      short loc_1800C0896                                            ; +0xce, 0x1800c088e\nmovzx   eax, byte ptr [rax+38h]                                        ; +0xd0, 0x1800c0890\njmp     short loc_1800C08C5                                            ; +0xd4, 0x1800c0894\nmov     dword ptr [rsp+68h+Reserved], ebx                              ; +0xd6, 0x1800c0896\nlea     r9, ??_R0?AVCCString@cocos2d@@@8; cocos2d::CCString `RTTI Type Descriptor' ; +0xda, 0x1800c089a\nlea     r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0xe1, 0x1800c08a1\nxor     edx, edx                                                       ; +0xe8, 0x1800c08a8\nmov     rcx, rdi                                                       ; +0xea, 0x1800c08aa\ncall    __RTDynamicCast                                                ; +0xed, 0x1800c08ad\ntest    rax, rax                                                       ; +0xf2, 0x1800c08b2\njz      short loc_1800C08C1                                            ; +0xf5, 0x1800c08b5\nmov     rcx, rax; this                                                 ; +0xf7, 0x1800c08b7\ncall    ?boolValue@CCString@cocos2d@@QEBA_NXZ; cocos2d::CCString::boolValue(void) ; +0xfa, 0x1800c08ba\njmp     short loc_1800C08C5                                            ; +0xff, 0x1800c08bf\nmovzx   eax, sil                                                       ; +0x101, 0x1800c08c1\nmov     rcx, [rsp+68h+var_18]                                          ; +0x105, 0x1800c08c5\nxor     rcx, rsp; StackCookie                                          ; +0x10a, 0x1800c08ca\ncall    __security_check_cookie                                        ; +0x10d, 0x1800c08cd\nlea     r11, [rsp+68h+var_8]                                           ; +0x112, 0x1800c08d2\nmov     rbx, [r11+20h]                                                 ; +0x117, 0x1800c08d7\nmov     rsi, [r11+28h]                                                 ; +0x11b, 0x1800c08db\nmov     rsp, r11                                                       ; +0x11f, 0x1800c08df\npop     rdi                                                            ; +0x122, 0x1800c08e2\nretn                                                                   ; +0x123, 0x1800c08e3", "xrefs": ["cocos2d::CCDirector::setDefaultValues @ 0x1800c2cf5", "cocos2d::CCDirector::setDefaultValues @ 0x1800c2de4", "<???> @ 0x18014cf68", "<???> @ 0x1801c3360"], "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"}