{"type": "func", "start": 6443365976, "end": 6443366081, "name": "_Init_thread_footer", "pseudocode": "// \n// _Init_thread_footer from 0x1800df658 to 0x1800df6c1 (105 bytes)\n// \n// 8 xrefs:\n// > cocos2d::CCCallFuncN::getClassTypeInfo @ 0x18003021f\n// > cocos2d::CCCallFuncND::getClassTypeInfo @ 0x18003029f\n// > cocos2d::CCCallFuncO::getClassTypeInfo @ 0x18003031f\n// > cocos2d::CCFileUtils::getClassTypeInfo @ 0x18006fd69\n// > cocos2d::CCImage::initWithString @ 0x18007d09b\n// > cocos2d::CCIMEDispatcher::sharedDispatcher @ 0x1800b4dd9\n// > cocos2d::CCDirector::getClassTypeInfo @ 0x1800be5d9\n// > <???> @ 0x1801bb004\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall Init_thread_footer(_DWORD *a1)\n{\n  __int64 v2; // rdx\n\n  AcquireSRWLockExclusive(&SRWLock);\n  v2 = (unsigned int)TlsIndex;\n  *a1 = ++dword_1801A434C;\n  *(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + v2) + 4LL) = dword_1801A434C;\n  ReleaseSRWLockExclusive(&SRWLock);\n  WakeAllConditionVariable(&ConditionVariable);\n}", "assembly": "; \n; _Init_thread_footer from 0x1800df658 to 0x1800df6c1 (105 bytes)\n; \n; 8 xrefs:\n; > cocos2d::CCCallFuncN::getClassTypeInfo @ 0x18003021f\n; > cocos2d::CCCallFuncND::getClassTypeInfo @ 0x18003029f\n; > cocos2d::CCCallFuncO::getClassTypeInfo @ 0x18003031f\n; > cocos2d::CCFileUtils::getClassTypeInfo @ 0x18006fd69\n; > cocos2d::CCImage::initWithString @ 0x18007d09b\n; > cocos2d::CCIMEDispatcher::sharedDispatcher @ 0x1800b4dd9\n; > cocos2d::CCDirector::getClassTypeInfo @ 0x1800be5d9\n; > <???> @ 0x1801bb004\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800df658\nsub     rsp, 20h                                                       ; +0x2, 0x1800df65a\nmov     rbx, rcx                                                       ; +0x6, 0x1800df65e\nlea     rcx, SRWLock; SRWLock                                          ; +0x9, 0x1800df661\ncall    cs:AcquireSRWLockExclusive                                     ; +0x10, 0x1800df668\nmov     eax, cs:dword_1801A434C                                        ; +0x16, 0x1800df66e\nlea     rcx, SRWLock; SRWLock                                          ; +0x1c, 0x1800df674\nmov     edx, cs:TlsIndex                                               ; +0x23, 0x1800df67b\ninc     eax                                                            ; +0x29, 0x1800df681\nmov     cs:dword_1801A434C, eax                                        ; +0x2b, 0x1800df683\nmov     [rbx], eax                                                     ; +0x31, 0x1800df689\nmov     rax, gs:58h                                                    ; +0x33, 0x1800df68b\nmov     r9d, 4                                                         ; +0x3c, 0x1800df694\nmov     r8, [rax+rdx*8]                                                ; +0x42, 0x1800df69a\nmov     eax, cs:dword_1801A434C                                        ; +0x46, 0x1800df69e\nmov     [r9+r8], eax                                                   ; +0x4c, 0x1800df6a4\ncall    cs:ReleaseSRWLockExclusive                                     ; +0x50, 0x1800df6a8\nlea     rcx, ConditionVariable                                         ; +0x56, 0x1800df6ae\nadd     rsp, 20h                                                       ; +0x5d, 0x1800df6b5\npop     rbx                                                            ; +0x61, 0x1800df6b9\njmp     cs:WakeAllConditionVariable                                    ; +0x62, 0x1800df6ba", "xrefs": ["cocos2d::CCCallFuncN::getClassTypeInfo @ 0x18003021f", "cocos2d::CCCallFuncND::getClassTypeInfo @ 0x18003029f", "cocos2d::CCCallFuncO::getClassTypeInfo @ 0x18003031f", "cocos2d::CCFileUtils::getClassTypeInfo @ 0x18006fd69", "cocos2d::CCImage::initWithString @ 0x18007d09b", "cocos2d::CCIMEDispatcher::sharedDispatcher @ 0x1800b4dd9", "cocos2d::CCDirector::getClassTypeInfo @ 0x1800be5d9", "<???> @ 0x1801bb004"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}