{"type": "func", "start": 5371892128, "end": 5371892183, "name": "SetLevelOrderPopup::onOrderButton", "pseudocode": "// \n// SetLevelOrderPopup::onOrderButton from 0x1403091a0 to 0x1403091d7 (55 bytes)\n// \n// 4 xrefs:\n// > SetLevelOrderPopup::init @ 0x140309046\n// > SetLevelOrderPopup::init @ 0x14030910a\n// > <???> @ 0x1406d45e0\n// > <???> @ 0x1406d45ec\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 SetLevelOrderPopup::onOrderButton(SetLevelOrderPopup *a1, cocos2d::CCObject *a2)\n{\n  int m_maximum; // eax\n\n  if ( a2->getTag(a2) == 1 )\n    m_maximum = a1->m_maximum;\n  else\n    m_maximum = 1;\n  a1->m_value = m_maximum;\n  SetIDPopup::updateTextInputLabel(a1);\n}", "assembly": "; \n; SetLevelOrderPopup::onOrderButton from 0x1403091a0 to 0x1403091d7 (55 bytes)\n; \n; 4 xrefs:\n; > SetLevelOrderPopup::init @ 0x140309046\n; > SetLevelOrderPopup::init @ 0x14030910a\n; > <???> @ 0x1406d45e0\n; > <???> @ 0x1406d45ec\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, 0x1403091a0\nsub     rsp, 20h                                                       ; +0x2, 0x1403091a2\nmov     rax, [rdx]                                                     ; +0x6, 0x1403091a6\nmov     rbx, rcx                                                       ; +0x9, 0x1403091a9\nmov     rcx, rdx                                                       ; +0xc, 0x1403091ac\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x1403091af\ncmp     eax, 1                                                         ; +0x12, 0x1403091b2\njnz     short loc_1403091BF                                            ; +0x15, 0x1403091b5\nmov     eax, [rbx+294h]                                                ; +0x17, 0x1403091b7\njmp     short loc_1403091C4                                            ; +0x1d, 0x1403091bd\nmov     eax, 1                                                         ; +0x1f, 0x1403091bf\nmov     rcx, rbx                                                       ; +0x24, 0x1403091c4\nmov     [rbx+288h], eax                                                ; +0x27, 0x1403091c7\nadd     rsp, 20h                                                       ; +0x2d, 0x1403091cd\npop     rbx                                                            ; +0x31, 0x1403091d1\njmp     SetIDPopup__updateTextInputLabel                               ; +0x32, 0x1403091d2", "xrefs": ["SetLevelOrderPopup::init @ 0x140309046", "SetLevelOrderPopup::init @ 0x14030910a", "<???> @ 0x1406d45e0", "<???> @ 0x1406d45ec"], "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"}