{"type": "func", "start": 6442648368, "end": 6442648467, "name": "sub_180030330", "pseudocode": "// \n// sub_180030330 from 0x180030330 to 0x180030393 (99 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCCallFuncN::getClassTypeInfo @ 0x18003020d\n// > cocos2d::CCCallFuncND::getClassTypeInfo @ 0x18003028d\n// > cocos2d::CCCallFuncO::getClassTypeInfo @ 0x18003030d\n// > <???> @ 0x1801b0138\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\n__int64 __fastcall sub_180030330(char *a1)\n{\n  char *v1; // rbx\n  __int64 v2; // rax\n  unsigned int v3; // edi\n  unsigned __int64 v4; // rsi\n  unsigned __int8 v5; // al\n\n  v1 = a1;\n  v2 = -1;\n  do\n    ++v2;\n  while ( a1[v2] );\n  v3 = 0;\n  v4 = (unsigned __int64)&a1[(unsigned int)v2];\n  if ( (unsigned __int64)a1 < v4 )\n  {\n    do\n    {\n      v5 = toupper(*v1++);\n      v3 = v5 ^ (16777619 * v3);\n    }\n    while ( (unsigned __int64)v1 < v4 );\n  }\n  return v3;\n}", "assembly": "; \n; sub_180030330 from 0x180030330 to 0x180030393 (99 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCCallFuncN::getClassTypeInfo @ 0x18003020d\n; > cocos2d::CCCallFuncND::getClassTypeInfo @ 0x18003028d\n; > cocos2d::CCCallFuncO::getClassTypeInfo @ 0x18003030d\n; > <???> @ 0x1801b0138\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180030330\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180030335\npush    rdi                                                            ; +0xa, 0x18003033a\nsub     rsp, 20h                                                       ; +0xb, 0x18003033b\nmov     rbx, rcx                                                       ; +0xf, 0x18003033f\nmov     rax, 0FFFFFFFFFFFFFFFFh                                        ; +0x12, 0x180030342\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x180030349\ninc     rax                                                            ; +0x20, 0x180030350\ncmp     byte ptr [rcx+rax], 0                                          ; +0x23, 0x180030353\njnz     short loc_180030350                                            ; +0x27, 0x180030357\nmov     esi, eax                                                       ; +0x29, 0x180030359\nxor     edi, edi                                                       ; +0x2b, 0x18003035b\nadd     rsi, rcx                                                       ; +0x2d, 0x18003035d\ncmp     rcx, rsi                                                       ; +0x30, 0x180030360\njnb     short loc_180030381                                            ; +0x33, 0x180030363\nmovsx   ecx, byte ptr [rbx]; C                                         ; +0x35, 0x180030365\ncall    cs:toupper                                                     ; +0x38, 0x180030368\nimul    edi, 1000193h                                                  ; +0x3e, 0x18003036e\ninc     rbx                                                            ; +0x44, 0x180030374\nmovzx   ecx, al                                                        ; +0x47, 0x180030377\nxor     edi, ecx                                                       ; +0x4a, 0x18003037a\ncmp     rbx, rsi                                                       ; +0x4c, 0x18003037c\njb      short loc_180030365                                            ; +0x4f, 0x18003037f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x51, 0x180030381\nmov     eax, edi                                                       ; +0x56, 0x180030386\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x58, 0x180030388\nadd     rsp, 20h                                                       ; +0x5d, 0x18003038d\npop     rdi                                                            ; +0x61, 0x180030391\nretn                                                                   ; +0x62, 0x180030392", "xrefs": ["cocos2d::CCCallFuncN::getClassTypeInfo @ 0x18003020d", "cocos2d::CCCallFuncND::getClassTypeInfo @ 0x18003028d", "cocos2d::CCCallFuncO::getClassTypeInfo @ 0x18003030d", "<???> @ 0x1801b0138"], "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"}