{"type": "func", "start": 4301453792, "end": 4301453974, "name": "DemonFilterSelectLayer::selectRating", "pseudocode": "// \n// DemonFilterSelectLayer::selectRating from 0x10062f9e0 to 0x10062fa96 (182 bytes)\n// \n// 1 xrefs:\n// > DemonFilterSelectLayer::init @ 0x10062f796\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 DemonFilterSelectLayer::selectRating(DemonFilterSelectLayer *a1, cocos2d::CCObject *a2)\n{\n  unsigned int v2; // r14d\n  __int64 v3; // r15\n  __int64 v4; // r12\n  int m_currentDemon; // r13d\n  void *v6; // rsi\n\n  a1->m_currentDemon = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);\n  if ( (unsigned int)sub_100720070(a1->m_demons) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007200C0(a1->m_demons, v2);\n      v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1056LL))(v3);\n      m_currentDemon = a1->m_currentDemon;\n      v6 = &unk_100822740;\n      if ( m_currentDemon == (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3) )\n        v6 = &unk_100822743;\n      (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v4 + 944LL))(v4, v6);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_100720070(a1->m_demons) );\n  }\n}", "assembly": "; \n; DemonFilterSelectLayer::selectRating from 0x10062f9e0 to 0x10062fa96 (182 bytes)\n; \n; 1 xrefs:\n; > DemonFilterSelectLayer::init @ 0x10062f796\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    rbp                                                            ; +0x0, 0x10062f9e0\nmov     rbp, rsp                                                       ; +0x1, 0x10062f9e1\npush    r15                                                            ; +0x4, 0x10062f9e4\npush    r14                                                            ; +0x6, 0x10062f9e6\npush    r13                                                            ; +0x8, 0x10062f9e8\npush    r12                                                            ; +0xa, 0x10062f9ea\npush    rbx                                                            ; +0xc, 0x10062f9ec\npush    rax                                                            ; +0xd, 0x10062f9ed\nmov     rbx, rdi                                                       ; +0xe, 0x10062f9ee\nmov     rax, [rsi]                                                     ; +0x11, 0x10062f9f1\nmov     rdi, rsi                                                       ; +0x14, 0x10062f9f4\ncall    qword ptr [rax+40h]                                            ; +0x17, 0x10062f9f7\nmov     [rbx+288h], eax                                                ; +0x1a, 0x10062f9fa\nmov     rdi, [rbx+278h]                                                ; +0x20, 0x10062fa00\ncall    sub_100720070                                                  ; +0x27, 0x10062fa07\ntest    eax, eax                                                       ; +0x2c, 0x10062fa0c\njz      short loc_10062FA87                                            ; +0x2e, 0x10062fa0e\nxor     r14d, r14d                                                     ; +0x30, 0x10062fa10\nnop     word ptr [rax+rax+00000000h]                                   ; +0x33, 0x10062fa13\nmov     rdi, [rbx+278h]                                                ; +0x40, 0x10062fa20\nmov     esi, r14d                                                      ; +0x47, 0x10062fa27\ncall    sub_1007200C0                                                  ; +0x4a, 0x10062fa2a\nmov     r15, rax                                                       ; +0x4f, 0x10062fa2f\nmov     rax, [rax]                                                     ; +0x52, 0x10062fa32\nmov     rdi, r15                                                       ; +0x55, 0x10062fa35\ncall    qword ptr [rax+420h]                                           ; +0x58, 0x10062fa38\nmov     r12, rax                                                       ; +0x5e, 0x10062fa3e\nmov     r13d, [rbx+288h]                                               ; +0x61, 0x10062fa41\nmov     rax, [r15]                                                     ; +0x68, 0x10062fa48\nmov     rdi, r15                                                       ; +0x6b, 0x10062fa4b\ncall    qword ptr [rax+40h]                                            ; +0x6e, 0x10062fa4e\ncmp     r13d, eax                                                      ; +0x71, 0x10062fa51\nmov     rax, [r12]                                                     ; +0x74, 0x10062fa54\nlea     rsi, unk_100822740                                             ; +0x78, 0x10062fa58\nlea     rcx, unk_100822743                                             ; +0x7f, 0x10062fa5f\ncmovz   rsi, rcx                                                       ; +0x86, 0x10062fa66\nmov     rdi, r12                                                       ; +0x8a, 0x10062fa6a\ncall    qword ptr [rax+3B0h]                                           ; +0x8d, 0x10062fa6d\ninc     r14d                                                           ; +0x93, 0x10062fa73\nmov     rdi, [rbx+278h]                                                ; +0x96, 0x10062fa76\ncall    sub_100720070                                                  ; +0x9d, 0x10062fa7d\ncmp     r14d, eax                                                      ; +0xa2, 0x10062fa82\njb      short loc_10062FA20                                            ; +0xa5, 0x10062fa85\nadd     rsp, 8                                                         ; +0xa7, 0x10062fa87\npop     rbx                                                            ; +0xab, 0x10062fa8b\npop     r12                                                            ; +0xac, 0x10062fa8c\npop     r13                                                            ; +0xae, 0x10062fa8e\npop     r14                                                            ; +0xb0, 0x10062fa90\npop     r15                                                            ; +0xb2, 0x10062fa92\npop     rbp                                                            ; +0xb4, 0x10062fa94\nretn                                                                   ; +0xb5, 0x10062fa95", "xrefs": ["DemonFilterSelectLayer::init @ 0x10062f796"], "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"}