{"type": "func", "start": 5371444480, "end": 5371444558, "name": "SetIDPopup::onItemIDArrow", "pseudocode": "// \n// SetIDPopup::onItemIDArrow from 0x14029bd00 to 0x14029bd4e (78 bytes)\n// \n// 3 xrefs:\n// > SetIDPopup::init @ 0x14029baa7\n// > SetIDPopup::init @ 0x14029bb5e\n// > <???> @ 0x1406d1da8\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 SetIDPopup::onItemIDArrow(SetIDPopup *a1, cocos2d::CCObject *a2)\n{\n  int v3; // eax\n  int m_value; // edx\n  int m_maximum; // ecx\n  int v6; // r8d\n  int v7; // edx\n\n  v3 = a2->getTag(a2);\n  m_value = a1->m_value;\n  m_maximum = a1->m_maximum;\n  v6 = m_value + 1;\n  v7 = m_value - 1;\n  if ( v3 != 1 )\n    v7 = v6;\n  if ( m_maximum >= v7 )\n    m_maximum = v7;\n  if ( a1->m_minimum > m_maximum )\n    m_maximum = a1->m_minimum;\n  a1->m_value = m_maximum;\n  SetIDPopup::updateTextInputLabel(a1);\n}", "assembly": "; \n; SetIDPopup::onItemIDArrow from 0x14029bd00 to 0x14029bd4e (78 bytes)\n; \n; 3 xrefs:\n; > SetIDPopup::init @ 0x14029baa7\n; > SetIDPopup::init @ 0x14029bb5e\n; > <???> @ 0x1406d1da8\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, 0x14029bd00\nsub     rsp, 20h                                                       ; +0x2, 0x14029bd02\nmov     rax, [rdx]                                                     ; +0x6, 0x14029bd06\nmov     rbx, rcx                                                       ; +0x9, 0x14029bd09\nmov     rcx, rdx                                                       ; +0xc, 0x14029bd0c\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x14029bd0f\nmov     edx, [rbx+288h]                                                ; +0x12, 0x14029bd12\nmov     ecx, [rbx+294h]                                                ; +0x18, 0x14029bd18\nlea     r8d, [rdx+1]                                                   ; +0x1e, 0x14029bd1e\ndec     edx                                                            ; +0x22, 0x14029bd22\ncmp     eax, 1                                                         ; +0x24, 0x14029bd24\nmov     eax, [rbx+290h]                                                ; +0x27, 0x14029bd27\ncmovnz  edx, r8d                                                       ; +0x2d, 0x14029bd2d\ncmp     ecx, edx                                                       ; +0x31, 0x14029bd31\ncmovge  ecx, edx                                                       ; +0x33, 0x14029bd33\ncmp     eax, ecx                                                       ; +0x36, 0x14029bd36\ncmovg   ecx, eax                                                       ; +0x38, 0x14029bd38\nmov     [rbx+288h], ecx                                                ; +0x3b, 0x14029bd3b\nmov     rcx, rbx                                                       ; +0x41, 0x14029bd41\nadd     rsp, 20h                                                       ; +0x44, 0x14029bd44\npop     rbx                                                            ; +0x48, 0x14029bd48\njmp     SetIDPopup__updateTextInputLabel                               ; +0x49, 0x14029bd49", "xrefs": ["SetIDPopup::init @ 0x14029baa7", "SetIDPopup::init @ 0x14029bb5e", "<???> @ 0x1406d1da8"], "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"}