; ; cocos2d::CCDictionary::setObject from 0x18000b400 to 0x18000b79c (924 bytes) ; ; 58 xrefs: ; > CCContentManager::addDictDS @ 0x180006022 ; > DS_Dictionary::getDictForKey @ 0x18001a069 ; > cocos2d::FNTConfigLoadFile @ 0x180048dd4 ; > sub_180070370 @ 0x18007064d ; > sub_180070370 @ 0x18007078c ; > sub_180070370 @ 0x180070931 ; > sub_180073B90 @ 0x180073d5f ; > sub_180073B90 @ 0x1800740a0 ; > cocos2d::CCSpriteFrameCache::addSpriteFrame @ 0x18008b679 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008b9ab ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008baa7 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008bb8e ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008bc75 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008bd5c ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008be58 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008bf2a ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008c026 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008c122 ; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180094537 ; > cocos2d::CCProfiler::createAndAddTimerWithName @ 0x180097efd ; > cocos2d::CCComponentContainer::add @ 0x180099f07 ; > cocos2d::CCTextureCache::addETCImage @ 0x1800aaf58 ; > cocos2d::CCTextureCache::addImage @ 0x1800ab786 ; > cocos2d::CCTextureCache::addImageAsyncCallBack @ 0x1800ac04d ; > cocos2d::CCTextureCache::addPVRImage @ 0x1800ac2d8 ; > cocos2d::CCTextureCache::addUIImage @ 0x1800ac74c ; > cocos2d::CCTextureCache::snapshotTextures @ 0x1800ad425 ; > cocos2d::CCTileMapAtlas::updateAtlasValues @ 0x1800af32a ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4eb6 ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4f76 ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5065 ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b51b5 ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b52ef ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b53fb ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b54ed ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b559c ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b582a ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b590e ; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b59ef ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bfdec ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bff0a ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c001e ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c0188 ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c026c ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c0405 ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c04db ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c064b ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c070a ; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c0785 ; > cocos2d::CCConfiguration::init @ 0x1800c0c66 ; > cocos2d::CCConfiguration::init @ 0x1800c0da8 ; > cocos2d::CCConfiguration::init @ 0x1800c0e99 ; > cocos2d::CCConfiguration::loadConfigFile @ 0x1800c1239 ; > cocos2d::CCConfiguration::setObject @ 0x1800c1356 ; > @ 0x18013aaac ; > @ 0x18013aabc ; > @ 0x18014cf68 ; > @ 0x1801b7e04 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:20 +0000 ; push rbx ; +0x0, 0x18000b400 push r12 ; +0x2, 0x18000b402 push r13 ; +0x4, 0x18000b404 sub rsp, 30h ; +0x6, 0x18000b406 cmp dword ptr [rcx+40h], 0 ; +0xa, 0x18000b40a mov rbx, r8 ; +0xe, 0x18000b40e mov r12, rdx ; +0x11, 0x18000b411 mov r13, rcx ; +0x14, 0x18000b414 jnz short loc_18000B420 ; +0x17, 0x18000b417 mov dword ptr [rcx+40h], 1 ; +0x19, 0x18000b419 cmp qword ptr [rcx+38h], 0 ; +0x20, 0x18000b420 mov [rsp+48h+arg_0], rbp ; +0x25, 0x18000b425 mov [rsp+48h+arg_8], rsi ; +0x2a, 0x18000b42a mov [rsp+48h+arg_10], rdi ; +0x2f, 0x18000b42f mov [rsp+48h+var_20], r14 ; +0x34, 0x18000b434 jz loc_18000B71F ; +0x39, 0x18000b439 cmp qword ptr [r8+18h], 0Fh ; +0x3f, 0x18000b43f mov edi, 9E3779B9h ; +0x44, 0x18000b444 mov r14d, edi ; +0x49, 0x18000b449 mov [rsp+48h+var_28], r15 ; +0x4c, 0x18000b44c mov esi, 0FEEDBEEFh ; +0x51, 0x18000b451 jbe short loc_18000B460 ; +0x56, 0x18000b456 mov rcx, [r8] ; +0x58, 0x18000b458 mov rbp, rcx ; +0x5b, 0x18000b45b jmp short loc_18000B466 ; +0x5e, 0x18000b45e mov rbp, rbx ; +0x60, 0x18000b460 mov rcx, rbx; Str ; +0x63, 0x18000b463 call strlen ; +0x66, 0x18000b466 mov r15, rax ; +0x6b, 0x18000b46b cmp eax, 0Ch ; +0x6e, 0x18000b46e jb loc_18000B57C ; +0x71, 0x18000b471 mov eax, 0AAAAAAABh ; +0x77, 0x18000b477 mul r15d ; +0x7c, 0x18000b47c shr edx, 3 ; +0x7f, 0x18000b47f mov r8d, edx ; +0x82, 0x18000b482 nop word ptr [rax+rax+00000000h] ; +0x85, 0x18000b485 movzx eax, byte ptr [rbp+6] ; +0x90, 0x18000b490 add r15d, 0FFFFFFF4h ; +0x94, 0x18000b494 movzx ecx, byte ptr [rbp+4] ; +0x98, 0x18000b498 movzx edx, byte ptr [rbp+7] ; +0x9c, 0x18000b49c shl edx, 8 ; +0xa0, 0x18000b4a0 add edx, eax ; +0xa3, 0x18000b4a3 movzx eax, byte ptr [rbp+5] ; +0xa5, 0x18000b4a5 shl edx, 8 ; +0xa9, 0x18000b4a9 add edx, eax ; +0xac, 0x18000b4ac movzx eax, byte ptr [rbp+0Ah] ; +0xae, 0x18000b4ae shl edx, 8 ; +0xb2, 0x18000b4b2 add r14d, edx ; +0xb5, 0x18000b4b5 movzx edx, byte ptr [rbp+0Bh] ; +0xb8, 0x18000b4b8 add r14d, ecx ; +0xbc, 0x18000b4bc shl edx, 8 ; +0xbf, 0x18000b4bf movzx ecx, byte ptr [rbp+8] ; +0xc2, 0x18000b4c2 add edx, eax ; +0xc6, 0x18000b4c6 movzx eax, byte ptr [rbp+9] ; +0xc8, 0x18000b4c8 shl edx, 8 ; +0xcc, 0x18000b4cc add edx, eax ; +0xcf, 0x18000b4cf movzx eax, byte ptr [rbp+2] ; +0xd1, 0x18000b4d1 shl edx, 8 ; +0xd5, 0x18000b4d5 add esi, edx ; +0xd8, 0x18000b4d8 add esi, ecx ; +0xda, 0x18000b4da movzx ecx, byte ptr [rbp+3] ; +0xdc, 0x18000b4dc shl ecx, 8 ; +0xe0, 0x18000b4e0 add ecx, eax ; +0xe3, 0x18000b4e3 movzx eax, byte ptr [rbp+1] ; +0xe5, 0x18000b4e5 shl ecx, 8 ; +0xe9, 0x18000b4e9 add ecx, eax ; +0xec, 0x18000b4ec movzx eax, byte ptr [rbp+0] ; +0xee, 0x18000b4ee shl ecx, 8 ; +0xf2, 0x18000b4f2 add rbp, 0Ch ; +0xf5, 0x18000b4f5 sub ecx, esi ; +0xf9, 0x18000b4f9 add ecx, eax ; +0xfb, 0x18000b4fb mov eax, esi ; +0xfd, 0x18000b4fd shr eax, 0Dh ; +0xff, 0x18000b4ff sub ecx, r14d ; +0x102, 0x18000b502 add edi, ecx ; +0x105, 0x18000b505 xor edi, eax ; +0x107, 0x18000b507 sub r14d, edi ; +0x109, 0x18000b509 mov eax, edi ; +0x10c, 0x18000b50c sub r14d, esi ; +0x10e, 0x18000b50e shl eax, 8 ; +0x111, 0x18000b511 xor r14d, eax ; +0x114, 0x18000b514 sub esi, r14d ; +0x117, 0x18000b517 mov eax, r14d ; +0x11a, 0x18000b51a sub esi, edi ; +0x11d, 0x18000b51d shr eax, 0Dh ; +0x11f, 0x18000b51f xor esi, eax ; +0x122, 0x18000b522 sub edi, esi ; +0x124, 0x18000b524 mov eax, esi ; +0x126, 0x18000b526 shr eax, 0Ch ; +0x128, 0x18000b528 sub edi, r14d ; +0x12b, 0x18000b52b xor edi, eax ; +0x12e, 0x18000b52e sub r14d, edi ; +0x130, 0x18000b530 mov eax, edi ; +0x133, 0x18000b533 sub r14d, esi ; +0x135, 0x18000b535 shl eax, 10h ; +0x138, 0x18000b538 xor r14d, eax ; +0x13b, 0x18000b53b sub esi, r14d ; +0x13e, 0x18000b53e mov eax, r14d ; +0x141, 0x18000b541 sub esi, edi ; +0x144, 0x18000b544 shr eax, 5 ; +0x146, 0x18000b546 xor esi, eax ; +0x149, 0x18000b549 sub edi, esi ; +0x14b, 0x18000b54b mov eax, esi ; +0x14d, 0x18000b54d shr eax, 3 ; +0x14f, 0x18000b54f sub edi, r14d ; +0x152, 0x18000b552 xor edi, eax ; +0x155, 0x18000b555 sub r14d, esi ; +0x157, 0x18000b557 sub r14d, edi ; +0x15a, 0x18000b55a mov eax, edi ; +0x15d, 0x18000b55d shl eax, 0Ah ; +0x15f, 0x18000b55f xor r14d, eax ; +0x162, 0x18000b562 sub esi, r14d ; +0x165, 0x18000b565 mov eax, r14d ; +0x168, 0x18000b568 sub esi, edi ; +0x16b, 0x18000b56b shr eax, 0Fh ; +0x16d, 0x18000b56d xor esi, eax ; +0x170, 0x18000b570 sub r8, 1 ; +0x172, 0x18000b572 jnz loc_18000B490 ; +0x176, 0x18000b576 cmp qword ptr [rbx+18h], 0Fh ; +0x17c, 0x18000b57c mov rcx, rbx ; +0x181, 0x18000b581 jbe short loc_18000B589 ; +0x184, 0x18000b584 mov rcx, [rbx]; Str ; +0x186, 0x18000b586 call strlen ; +0x189, 0x18000b589 add esi, eax ; +0x18e, 0x18000b58e dec r15d; switch 11 cases ; +0x190, 0x18000b590 cmp r15d, 0Ah ; +0x193, 0x18000b593 ja short def_18000B5AB; jumptable 000000018000B5AB default case ; +0x197, 0x18000b597 lea rdx, cs:180000000h ; +0x199, 0x18000b599 mov ecx, ds:(jpt_18000B5AB - 180000000h)[rdx+r15*4] ; +0x1a0, 0x18000b5a0 add rcx, rdx ; +0x1a8, 0x18000b5a8 jmp rcx; switch jump ; +0x1ab, 0x18000b5ab movzx eax, byte ptr [rbp+0Ah]; jumptable 000000018000B5AB case 11 ; +0x1ad, 0x18000b5ad shl eax, 18h ; +0x1b1, 0x18000b5b1 add esi, eax ; +0x1b4, 0x18000b5b4 movzx eax, byte ptr [rbp+9]; jumptable 000000018000B5AB case 10 ; +0x1b6, 0x18000b5b6 shl eax, 10h ; +0x1ba, 0x18000b5ba add esi, eax ; +0x1bd, 0x18000b5bd movzx eax, byte ptr [rbp+8]; jumptable 000000018000B5AB case 9 ; +0x1bf, 0x18000b5bf shl eax, 8 ; +0x1c3, 0x18000b5c3 add esi, eax ; +0x1c6, 0x18000b5c6 movzx eax, byte ptr [rbp+7]; jumptable 000000018000B5AB case 8 ; +0x1c8, 0x18000b5c8 shl eax, 18h ; +0x1cc, 0x18000b5cc add r14d, eax ; +0x1cf, 0x18000b5cf movzx eax, byte ptr [rbp+6]; jumptable 000000018000B5AB case 7 ; +0x1d2, 0x18000b5d2 shl eax, 10h ; +0x1d6, 0x18000b5d6 add r14d, eax ; +0x1d9, 0x18000b5d9 movzx eax, byte ptr [rbp+5]; jumptable 000000018000B5AB case 6 ; +0x1dc, 0x18000b5dc shl eax, 8 ; +0x1e0, 0x18000b5e0 add r14d, eax ; +0x1e3, 0x18000b5e3 movzx eax, byte ptr [rbp+4]; jumptable 000000018000B5AB case 5 ; +0x1e6, 0x18000b5e6 add r14d, eax ; +0x1ea, 0x18000b5ea movzx eax, byte ptr [rbp+3]; jumptable 000000018000B5AB case 4 ; +0x1ed, 0x18000b5ed shl eax, 18h ; +0x1f1, 0x18000b5f1 add edi, eax ; +0x1f4, 0x18000b5f4 movzx eax, byte ptr [rbp+2]; jumptable 000000018000B5AB case 3 ; +0x1f6, 0x18000b5f6 shl eax, 10h ; +0x1fa, 0x18000b5fa add edi, eax ; +0x1fd, 0x18000b5fd movzx eax, byte ptr [rbp+1]; jumptable 000000018000B5AB case 2 ; +0x1ff, 0x18000b5ff shl eax, 8 ; +0x203, 0x18000b603 add edi, eax ; +0x206, 0x18000b606 movzx eax, byte ptr [rbp+0]; jumptable 000000018000B5AB case 1 ; +0x208, 0x18000b608 add edi, eax ; +0x20c, 0x18000b60c mov r15, [rsp+48h+var_28]; jumptable 000000018000B5AB default case ; +0x20e, 0x18000b60e sub edi, r14d ; +0x213, 0x18000b613 sub edi, esi ; +0x216, 0x18000b616 mov eax, esi ; +0x218, 0x18000b618 shr eax, 0Dh ; +0x21a, 0x18000b61a xor edi, eax ; +0x21d, 0x18000b61d sub r14d, edi ; +0x21f, 0x18000b61f mov eax, edi ; +0x222, 0x18000b622 sub r14d, esi ; +0x224, 0x18000b624 shl eax, 8 ; +0x227, 0x18000b627 xor r14d, eax ; +0x22a, 0x18000b62a sub esi, edi ; +0x22d, 0x18000b62d sub esi, r14d ; +0x22f, 0x18000b62f mov eax, r14d ; +0x232, 0x18000b632 shr eax, 0Dh ; +0x235, 0x18000b635 xor esi, eax ; +0x238, 0x18000b638 sub edi, esi ; +0x23a, 0x18000b63a mov eax, esi ; +0x23c, 0x18000b63c sub edi, r14d ; +0x23e, 0x18000b63e shr eax, 0Ch ; +0x241, 0x18000b641 xor edi, eax ; +0x244, 0x18000b644 sub r14d, edi ; +0x246, 0x18000b646 mov eax, edi ; +0x249, 0x18000b649 sub r14d, esi ; +0x24b, 0x18000b64b shl eax, 10h ; +0x24e, 0x18000b64e xor r14d, eax ; +0x251, 0x18000b651 sub esi, r14d ; +0x254, 0x18000b654 mov eax, r14d ; +0x257, 0x18000b657 sub esi, edi ; +0x25a, 0x18000b65a shr eax, 5 ; +0x25c, 0x18000b65c xor esi, eax ; +0x25f, 0x18000b65f sub edi, esi ; +0x261, 0x18000b661 mov eax, esi ; +0x263, 0x18000b663 sub edi, r14d ; +0x265, 0x18000b665 shr eax, 3 ; +0x268, 0x18000b668 xor edi, eax ; +0x26b, 0x18000b66b mov rax, [r13+38h] ; +0x26d, 0x18000b66d sub r14d, edi ; +0x271, 0x18000b671 mov ecx, edi ; +0x274, 0x18000b674 sub r14d, esi ; +0x276, 0x18000b676 shl ecx, 0Ah ; +0x279, 0x18000b679 xor ecx, r14d ; +0x27c, 0x18000b67c mov r14, [rax+110h] ; +0x27f, 0x18000b67f sub esi, ecx ; +0x286, 0x18000b686 shr rcx, 0Fh ; +0x288, 0x18000b688 sub esi, edi ; +0x28c, 0x18000b68c mov edx, esi ; +0x28e, 0x18000b68e xor rdx, rcx ; +0x290, 0x18000b690 mov ecx, [r14+8] ; +0x293, 0x18000b693 mov rax, [r14] ; +0x297, 0x18000b697 dec ecx ; +0x29a, 0x18000b69a and rdx, rcx ; +0x29c, 0x18000b69c add rdx, rdx ; +0x29f, 0x18000b69f mov rdi, [rax+rdx*8] ; +0x2a2, 0x18000b6a2 test rdi, rdi ; +0x2a6, 0x18000b6a6 jz short loc_18000B71F ; +0x2a9, 0x18000b6a9 mov r14, [r14+20h] ; +0x2ab, 0x18000b6ab sub rdi, r14 ; +0x2af, 0x18000b6af jz short loc_18000B71F ; +0x2b2, 0x18000b6b2 mov rbp, [rbx+18h] ; +0x2b4, 0x18000b6b4 nop dword ptr [rax+rax+00000000h] ; +0x2b8, 0x18000b6b8 mov rcx, rbx ; +0x2c0, 0x18000b6c0 cmp rbp, 0Fh ; +0x2c3, 0x18000b6c3 jbe short loc_18000B6CC ; +0x2c7, 0x18000b6c7 mov rcx, [rbx]; Str ; +0x2c9, 0x18000b6c9 call strlen ; +0x2cc, 0x18000b6cc mov ecx, [rdi+140h] ; +0x2d1, 0x18000b6d1 cmp rcx, rax ; +0x2d7, 0x18000b6d7 jnz short loc_18000B70B ; +0x2da, 0x18000b6da mov rcx, rbx; Str ; +0x2dc, 0x18000b6dc cmp rbp, 0Fh ; +0x2df, 0x18000b6df jbe short loc_18000B6ED ; +0x2e3, 0x18000b6e3 mov rsi, [rbx] ; +0x2e5, 0x18000b6e5 mov rcx, rsi ; +0x2e8, 0x18000b6e8 jmp short loc_18000B6F0 ; +0x2eb, 0x18000b6eb mov rsi, rbx ; +0x2ed, 0x18000b6ed call strlen ; +0x2f0, 0x18000b6f0 mov rcx, [rdi+138h]; Buf1 ; +0x2f5, 0x18000b6f5 mov r8, rax; Size ; +0x2fc, 0x18000b6fc mov rdx, rsi; Buf2 ; +0x2ff, 0x18000b6ff call memcmp ; +0x302, 0x18000b702 test eax, eax ; +0x307, 0x18000b707 jz short loc_18000B74B ; +0x309, 0x18000b709 mov rax, [rdi+130h] ; +0x30b, 0x18000b70b mov rdi, rax ; +0x312, 0x18000b712 test rax, rax ; +0x315, 0x18000b715 jz short loc_18000B71F ; +0x318, 0x18000b718 sub rdi, r14 ; +0x31a, 0x18000b71a jnz short loc_18000B6C0 ; +0x31d, 0x18000b71d mov r8, rbx ; +0x31f, 0x18000b71f mov rdx, r12 ; +0x322, 0x18000b722 mov rcx, r13 ; +0x325, 0x18000b725 call ?setObjectUnSafe@CCDictionary@cocos2d@@AEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObjectUnSafe(cocos2d::CCObject *,std::string const &) ; +0x328, 0x18000b728 mov r14, [rsp+48h+var_20] ; +0x32d, 0x18000b72d mov rdi, [rsp+48h+arg_10] ; +0x332, 0x18000b732 mov rsi, [rsp+48h+arg_8] ; +0x337, 0x18000b737 mov rbp, [rsp+48h+arg_0] ; +0x33c, 0x18000b73c add rsp, 30h ; +0x341, 0x18000b741 pop r13 ; +0x345, 0x18000b745 pop r12 ; +0x347, 0x18000b747 pop rbx ; +0x349, 0x18000b749 retn ; +0x34a, 0x18000b74a mov rcx, [rdi+108h]; this ; +0x34b, 0x18000b74b cmp rcx, r12 ; +0x352, 0x18000b752 jz short loc_18000B72D ; +0x355, 0x18000b755 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x357, 0x18000b757 mov rcx, r12; this ; +0x35c, 0x18000b75c mov [rdi+108h], r12 ; +0x35f, 0x18000b75f call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x366, 0x18000b766 jmp short loc_18000B72D ; +0x36b, 0x18000b76b align 10h ; +0x36d, 0x18000b76d dd offset loc_18000B608 - 180000000h; jump table for switch statement ; +0x370, 0x18000b770